Documents for PDF, .NET Edition Documentation
ReadBytes Method

GrapeCity.Documents.Common Assembly > GrapeCity.Documents.Common Namespace > BigEndianBinaryReader Class : ReadBytes Method
The number of bytes to read. This value must be 0 or a non-negative number or an exception will occur.
Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.
Syntax
'Declaration
 
Public Function ReadBytes( _
   ByVal count As System.Integer _
) As System.Byte()
public System.byte[] ReadBytes( 
   System.int count
)

Parameters

count
The number of bytes to read. This value must be 0 or a non-negative number or an exception will occur.

Return Value

A byte array containing data read from the underlying stream. This might be less than the number of bytes requested if the end of the stream is reached.
See Also

Reference

BigEndianBinaryReader Class
BigEndianBinaryReader Members