All Questions
1 question
7
votes
1
answer
13k
views
Benefits of Java ByteArrayInputStream vs byte array?
I have a scenario where my Java process will be receiving a stream of binary data:
public class DataHandler {
public void handleData(DATA data) {
// TODO: Do something with data
}
}
...