Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.