Share via


Overview | Methods | This Package | All Packages

OverviewMethodsThis PackageAll Packages

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.