Method | Description | |
---|---|---|
ContainerReader ( Stream stream, bool closeOnDispose ) : System |
Creates a new instance with the specified stream. Optionally sets to close the stream when disposed.
|
|
ContainerReader ( string path ) : System |
Creates a new instance with the specified file.
|
|
Dispose ( ) : void |
Disposes this instance.
|
|
FindNextStream ( ) : bool |
Finds the next new stream in the container.
|
|
GetStream ( int streamSerial ) : IPacketProvider |
Gets the IPacketProvider instance for the specified stream serial.
|
|
GetTotalPageCount ( ) : int |
Retrieves the total number of pages in the container.
|
|
Init ( ) : bool |
Initializes the container and finds the first stream.
|
Method | Description | |
---|---|---|
AddPage ( PageHeader hdr ) : bool | ||
DisposePacketReader ( PacketReader packetReader ) : void | ||
FindNextPageHeader ( ) : PageHeader | ||
GatherNextPage ( ) : int | ||
GatherNextPage ( int streamSerial ) : void | ||
PacketDiscardThrough ( long offset ) : void | ||
PacketReadByte ( long offset ) : int | ||
ReadPageHeader ( long position ) : PageHeader |
public ContainerReader ( Stream stream, bool closeOnDispose ) : System | ||
stream | Stream | The stream to read. |
closeOnDispose | bool | |
return | System |
public ContainerReader ( string path ) : System | ||
path | string | The full path to the file. |
return | System |
public GetStream ( int streamSerial ) : IPacketProvider | ||
streamSerial | int | The stream serial to look for. |
return | IPacketProvider |