Microsoft SDK for Java

IDataStream.writeShort

Writes a short integer to this stream.

Syntax

public void writeShort( short value )

Parameters

value

The short integer to write.

Exceptions

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

Remarks

The current position is advanced by two bytes.

See Also   readShort

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