Microsoft SDK for Java

write

The write method of the ActiveXOutputStream Class contains the following signatures:

write(int b)
write(byte b[], int off, int len)

write(int b)

Writes a byte to the output stream.

Syntax

public void write(int b) throws IOException;

Parameters

b The byte to write to the output stream.

Exceptions

IOException if an I/O error occurs.

write(byte b[], int off, int len)

Writes a specified number of bytes from a byte array to the output stream, beginning with the byte at offset off in the array.

Syntax

public void write(byte b[], int off, int len) throws IOException;

Parameters

b The bytes to write.
off The starting offset in the array.
len The number of bytes to write.

Exceptions

IOException if an I/O error occurs.

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