Share via


DataStream Class

Methods | This Package | All Packages

Provides a base implementation of the IDataStream interface.

package com.ms.wfc.io

public class DataStream
implements
IDataStream****

Remarks

To create an implementation of IDataStream, you typically inherit from this class.

To support reading, a subclass must minimally implement the read and readCore methods. To support writing, a subclass must minimally implement the write and writeCore methods. To support random access seeking, a subclass must implement the getLength, setLength, getPosition, and setPosition methods. Finally, the close and flush methods can be overridden if required.

See Also   BufferedStream, File, IByteStream, MemoryStream