Open deanmarano opened 10 years ago
When dealing with multi-packet data, the current implementation truncates as read only reads a portion of the buffer. According to the documentation, read should be called until it returns -1 number of bytes read.
read
-1
When dealing with multi-packet data, the current implementation truncates as
read
only reads a portion of the buffer. According to the documentation,read
should be called until it returns-1
number of bytes read.