Method Read
Read(byte[], int, int)
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
public override int Read(byte[] buffer, int offset, int count)
Parameters
bufferbyte[]The buffer to read the data into.
offsetintThe byte offset in
bufferat which to begin reading.countintThe maximum number of bytes to read.
Returns
- int
The total number of bytes read into the buffer.