C# 클래스 ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream

상속: Stream
파일 보기 프로젝트 열기: icsharpcode/SharpZipLib 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
csize long
inf ICSharpCode.SharpZipLib.Zip.Compression.Inflater
inputBuffer InflaterInputBuffer

공개 메소드들

메소드 설명
Flush ( ) : void

Flushes the baseInputStream

InflaterInputStream ( Stream baseInputStream ) : System

Create an InflaterInputStream with the default decompressor and a default buffer size of 4KB.

InflaterInputStream ( Stream baseInputStream, Inflater inf ) : System

Create an InflaterInputStream with the specified decompressor and a default buffer size of 4KB.

InflaterInputStream ( Stream baseInputStream, Inflater inflater, int bufferSize ) : System

Create an InflaterInputStream with the specified decompressor and the specified buffer size.

Read ( byte buffer, int offset, int count ) : int

Reads decompressed data into the provided buffer byte array

Seek ( long offset, SeekOrigin origin ) : long

Sets the position within the current stream Always throws a NotSupportedException

SetLength ( long value ) : void

Set the length of the current stream Always throws a NotSupportedException

Skip ( long count ) : long

Skip specified number of bytes of uncompressed data

Write ( byte buffer, int offset, int count ) : void

Writes a sequence of bytes to stream and advances the current position This method always throws a NotSupportedException

WriteByte ( byte value ) : void

Writes one byte to the current stream and advances the current position Always throws a NotSupportedException

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Closes the input stream. When is true the underlying stream is also closed.

Fill ( ) : void

Fills the buffer with more data to decompress.

StopDecrypting ( ) : void

Clear any cryptographic state.

메소드 상세

Dispose() 보호된 메소드

Closes the input stream. When is true the underlying stream is also closed.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Fill() 보호된 메소드

Fills the buffer with more data to decompress.
/// Stream ends early ///
protected Fill ( ) : void
리턴 void

Flush() 공개 메소드

Flushes the baseInputStream
public Flush ( ) : void
리턴 void

InflaterInputStream() 공개 메소드

Create an InflaterInputStream with the default decompressor and a default buffer size of 4KB.
public InflaterInputStream ( Stream baseInputStream ) : System
baseInputStream Stream /// The InputStream to read bytes from ///
리턴 System

InflaterInputStream() 공개 메소드

Create an InflaterInputStream with the specified decompressor and a default buffer size of 4KB.
public InflaterInputStream ( Stream baseInputStream, Inflater inf ) : System
baseInputStream Stream /// The source of input data ///
inf ICSharpCode.SharpZipLib.Zip.Compression.Inflater /// The decompressor used to decompress data read from baseInputStream ///
리턴 System

InflaterInputStream() 공개 메소드

Create an InflaterInputStream with the specified decompressor and the specified buffer size.
public InflaterInputStream ( Stream baseInputStream, Inflater inflater, int bufferSize ) : System
baseInputStream Stream /// The InputStream to read bytes from ///
inflater ICSharpCode.SharpZipLib.Zip.Compression.Inflater /// The decompressor to use ///
bufferSize int /// Size of the buffer to use ///
리턴 System

Read() 공개 메소드

Reads decompressed data into the provided buffer byte array
/// Inflater needs a dictionary ///
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// The array to read and decompress data into ///
offset int /// The offset indicating where the data should be placed ///
count int /// The number of bytes to decompress ///
리턴 int

Seek() 공개 메소드

Sets the position within the current stream Always throws a NotSupportedException
Any access
public Seek ( long offset, SeekOrigin origin ) : long
offset long The relative offset to seek to.
origin SeekOrigin The defining where to seek from.
리턴 long

SetLength() 공개 메소드

Set the length of the current stream Always throws a NotSupportedException
Any access
public SetLength ( long value ) : void
value long The new length value for the stream.
리턴 void

Skip() 공개 메소드

Skip specified number of bytes of uncompressed data
/// The number of bytes to skip is less than or equal to zero. ///
public Skip ( long count ) : long
count long /// Number of bytes to skip ///
리턴 long

StopDecrypting() 보호된 메소드

Clear any cryptographic state.
protected StopDecrypting ( ) : void
리턴 void

Write() 공개 메소드

Writes a sequence of bytes to stream and advances the current position This method always throws a NotSupportedException
Any access
public Write ( byte buffer, int offset, int count ) : void
buffer byte Thew buffer containing data to write.
offset int The offset of the first byte to write.
count int The number of bytes to write.
리턴 void

WriteByte() 공개 메소드

Writes one byte to the current stream and advances the current position Always throws a NotSupportedException
Any access
public WriteByte ( byte value ) : void
value byte The byte to write.
리턴 void

프로퍼티 상세

csize 보호되어 있는 프로퍼티

The compressed size
protected long csize
리턴 long

inf 보호되어 있는 프로퍼티

Decompressor for this stream
protected Inflater,ICSharpCode.SharpZipLib.Zip.Compression inf
리턴 ICSharpCode.SharpZipLib.Zip.Compression.Inflater

inputBuffer 보호되어 있는 프로퍼티

Input buffer for this stream.
protected InflaterInputBuffer,ICSharpCode.SharpZipLib.Zip.Compression.Streams inputBuffer
리턴 InflaterInputBuffer