DataStream.write

Overview | Methods | This Package | All Packages

DataStream.write

Writes bytes of data to this stream.

Syntax

public void write( int value )

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

Parameters

value

The value to write.

buffer

The array containing the data to write.

index

The starting index in the buffer.

count

The number of bytes to write.

Remarks

This method implements the IByteStream.write method. The first syntax writes the next byte of data. The second syntax validates the arguments and then calls the writeCore method to write the data.