ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream Class Reference

Inheritance diagram for ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream:

ICSharpCode::SharpZipLib::Zip::Compression::Streams::InflaterInputStream List of all members.

Public Member Functions

 PartialInputStream (Stream baseStream, long start, long len)
override int ReadByte ()
 Read a byte from this stream.
override void Close ()
 Close this partial input stream.
override int Read (byte[] b, int off, int len)
 Decompresses data into the byte array.
long SkipBytes (long amount)

Properties

override int Available
 Returns 0 once the end of the stream (EOF) has been reached. Otherwise returns 1.

Private Attributes

Stream baseStream
long filepos
long end

Detailed Description

Definition at line 928 of file ZipFile.cs.


Constructor & Destructor Documentation

ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::PartialInputStream Stream  baseStream,
long  start,
long  len
[inline]
 

Definition at line 933 of file ZipFile.cs.


Member Function Documentation

override void ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::Close  )  [inline]
 

Close this partial input stream.

The underlying stream is not closed. Close the parent ZipFile class to do that.

Reimplemented from ICSharpCode::SharpZipLib::Zip::Compression::Streams::InflaterInputStream.

Definition at line 975 of file ZipFile.cs.

override int ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::Read byte[]  b,
int  off,
int  len
[inline]
 

Decompresses data into the byte array.

Parameters:
b The array to read and decompress data into
off The offset indicating where the data should be placed
len The number of bytes to decompress
Returns:
The number of bytes read. Zero signals the end of stream
Exceptions:
SharpZipBaseException Inflater needs a dictionary

Reimplemented from ICSharpCode::SharpZipLib::Zip::Compression::Streams::InflaterInputStream.

Definition at line 980 of file ZipFile.cs.

override int ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::ReadByte  )  [inline]
 

Read a byte from this stream.

Returns:
Returns the byte read or -1 on end of stream.

Definition at line 956 of file ZipFile.cs.

long ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::SkipBytes long  amount  )  [inline]
 

Definition at line 999 of file ZipFile.cs.


Member Data Documentation

Stream ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::baseStream [private]
 

Definition at line 930 of file ZipFile.cs.

long ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::end [private]
 

Definition at line 931 of file ZipFile.cs.

long ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::filepos [private]
 

Definition at line 931 of file ZipFile.cs.


Property Documentation

override int ICSharpCode::SharpZipLib::Zip::ZipFile::PartialInputStream::Available [get]
 

Returns 0 once the end of the stream (EOF) has been reached. Otherwise returns 1.

Reimplemented from ICSharpCode::SharpZipLib::Zip::Compression::Streams::InflaterInputStream.

Definition at line 941 of file ZipFile.cs.


The documentation for this class was generated from the following file:
Generated on Fri Jun 23 21:50:06 2006 for OblivionModTranslator by  doxygen 1.4.6-NO