BinaryReader.Read Method (array<Byte, Int32, Int32)
Reads count bytes from the stream with index as the starting point in the byte array.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public Overridable Function Read ( _ buffer As Byte(), _ index As Integer, _ count As Integer _ ) As Integer
public virtual int Read( byte buffer, int index, int count )
The buffer to read data into.
The starting point in the buffer at which to begin reading into the buffer.
The number of characters to read.
The number of characters read into buffer. This might be less than the number of bytes requested if that many bytes are not available, or it might be zero if the end of the stream is reached.
The buffer length minus index is less than count.
buffer is nulla null reference (Nothing in Visual Basic).
index or count is negative.
The stream is closed.
An I/O error occurs.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0
Supported in: Xbox 360, Windows Phone OS 7.0
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.