I want to get stream of byte array but I came to know that Arrays does not have method to get stream of byte array.
byte[] byteArr = new byte[100];
Arrays.stream(byteArr);//Compile time error
My questions,
- Why this feature is not supported ?
- How can I get Stream of byte array ?
NOTE : I know I can use Byte[] instead of byte[] but that does not answer my question.