Microsoft SDK for Java

BufferedStream.getLength

Retrieves the length of the stream in bytes.

Syntax

public long getLength()

Return Value

Returns the length of the stream.

Remarks

The default implementation raises an IOException, but a subclass can override this method to provide the appropriate functionality.

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