Microsoft SDK for Java

DataStream.setLength

Sets the length of this stream.

Syntax

public void setLength( long length )

Parameters

length

The new length of this stream.

Remarks

This method implements the IByteStream.setLength method. The default implementation throws an IOException, but a subclass can override this method to provide the appropriate functionality.

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