Declaration
public byte[] ReadBytes(
int count
)
Summary
Reads the specified number of bytes from the stream.
Parameters
int | count | Number of bytes to read from the stream. |
Returns
A byte array containing exactly the number of bytes requested.
Exceptions
- System.IO.EndOfStreamException
The end of the stream was reached before the requested number of bytes could be read.