Microsoft SDK for Java

IByteStream.getLength

Retrieves the length in bytes of this stream.

Syntax

public long getLength()

Return Value

Returns the length of the stream.

Exceptions

IOException thrown if an I/O error occurs or if the length of the stream cannot be determined.

See Also   setLength

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