Microsoft SDK for Java

DataStream.readBoolean

Reads a boolean value from this stream.

Syntax

public boolean readBoolean()

Return Value

Returns true if the byte is non-zero, or returns false if the byte is zero.

Remarks

This method implements the IDataStream.readBoolean method. This method calls the read method to read a byte.

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