Parameters
- buf
- An array of bytes. When this method returns, buf contains the specified byte array with the values between offsetand (offset + count) replaced by the uncompressed data read from the stream.
- offset
- The zero-based byte offset in buf at which to begin storing the data read from the current stream.
- count
- The maximum number of (decompressed) bytes to be read from the current stream.
Return Value
The total number of bytes read into the buffer. This may be less than the number of bytes requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.