IByteStream.write

Overview | Methods | This Package | All Packages

IByteStream.write

Writes a specified number of bytes into this stream from an array starting at a specified position.

Syntax

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

Parameters

buffer

The byte array to write data from.

index

The starting index in the buffer.

count

The number of bytes to write.

Exceptions

IOException thrown if an I/O error occurs or if the stream does not support writing.

Remarks

If the write operation is successful, the current position of the stream is advanced by the specified number of bytes.

See Also   read