Reads from a chunked-encoded input stream in a way that respects chunk boundaries.
The buffer to read bytes into.
The number of bytes that were read, or -1 in case of error.
See Implementation
Reads from a chunked-encoded input stream in a way that respects chunk boundaries.