Answer the question
In order to leave comments, you need to log in
How to copy/buffer an infinite InputStream?
There is an InputStream and data is endlessly fed into it. It is necessary to distribute this data to many OutputStreams
Answer the question
In order to leave comments, you need to log in
InputStream has a read(byte[] b) method: you read the required number of bytes with it.
Then you decompose this array of bytes into outputStreams in any amount.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question