DataStream.readBytes

Overview | Methods | This Package | All Packages

DataStream.readBytes

Reads a block of bytes from this stream.

Syntax

public byte[] readBytes( int count )

public void readBytes( byte[] buffer, int index, int count )

Parameters

buffer

The array to read data into.

index

The starting index in the array.

count

The number of bytes to read.

Return Value

Returns a byte of array containing the data that was read.

Remarks

This method implements the IDataStream.readBytes method. This method calls the read method to read the data.