Microsoft SDK for Java

DataStream.readShort

Reads a short value from this stream.

Syntax

public short readShort()

Return Value

Returns the short value that was read.

Remarks

This method implements the IDataStream.readShort method. This method calls the read method to read two bytes and then combines them into a short integer.

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