Fills the internal buffer with the specified number of bytes read from the stream.
numBytes The number of bytes to be read.
The internal buffer size is the larger value between 16 and the value returned by System.Text.Encoding.GetMaxByteCount(int) for the specified encoding.
For a list of common I/O tasks, see Common I/O Tasks.