An ExtendedStream is an input stream that can retrieve content at arbitrary positions within the stream. The ExtendedStream class includes methods that can read a certain number of bytes from the stream or read an unspecified number of bytes. The stream keeps track of the last byte position that was read. You can specify a position in the input stream to get to a later or earlier position within the stream.

Although ExtendedStream supports all types of storage devices, the ability to efficiently seek within a content stream is limited to the capabilities of the underlying media, and might not be appropriate for some types of storage devices. For example, the IFileStorageArea, ICmAdvancedStorageArea file system storage device, and content that has been cached in the content cache are optimized to do native re-positioning of the input stream and, therefore, can efficiently seek within a content stream.

Namespace:  FileNet.Api.Util
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public MustInherit Class ExtendedStream _
	Inherits Stream
C#
public abstract class ExtendedStream : Stream
Visual C++
public ref class ExtendedStream abstract : public Stream
JavaScript
FileNet.Api.Util.ExtendedStream = function();

Type.createClass(
	'FileNet.Api.Util.ExtendedStream',
	Stream);

ToggleInheritance Hierarchy

System..::.Object
  System..::.MarshalByRefObject
    System.IO..::.Stream
      FileNet.Api.Util..::.ExtendedStream

ToggleSee Also