[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.BigEndianBinaryReader.ReadBytes

ReadBytes Method

ReadBytes(int)

Reads the specified number of bytes from the current stream into a byte array and advances the current position by that number of bytes.

Declaration
public byte[] ReadBytes(int count)
Public Function ReadBytes(count As Integer) As Byte()
Parameters
Type Name Description
int count

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

Returns
Type Description
byte[]

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.