reading from the stream in a loop
this ensures that desired number of bytes will be read, as stream.read(byte[] buffer) will just make effort to read at least 1 byte
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
this ensures that desired number of bytes will be read, as stream.read(byte[] buffer) will just make effort to read at least 1 byte