IDataStream.writeBytes

Overview | Methods | This Package | All Packages

IDataStream.writeBytes

Writes the contents of the specified byte array to this stream.

Syntax

public void writeBytes( byte[] buffer )

Parameters

buffer

The byte array containing the data to write.

Exceptions

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

Remarks

The number of bytes written to the stream is buffer.length.

See Also   IByteStream.write, readBytes