Answer the question
In order to leave comments, you need to log in
How to get the number of available bytes in NSInputStream class in iOS?
Greetings!
Method
Returns false, and len=1.
And such a call
returns the required number of bytes. How can I find out how many bytes are in the stream before the data is read by the read method? [self.inputStream getBuffer:&buf1 length:&len];
[self.inputStream read:buf maxLength:1024];
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question