C# Class Zlib.ZlibBaseStream

Inheritance: Stream
Mostra file Open project: robertbaker/SevenUpdate Class Usage Examples

Protected Properties

Property Type Description
GzipComment string
GzipFileName string
GzipHeaderByteCount int
Mode StreamMode
Stream Stream
ZlibCodec ZlibCodec

Private Properties

Property Type Description
End void
Finish void
ReadAndValidateGzipHeader int
ReadZeroTerminatedString string

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
ZlibBaseStream ( Stream stream, CompressionMode compressionMode, CompressionLevel level, ZlibStreamFlavor flavor, bool leaveOpen ) : System

Private Methods

Method Description
End ( ) : void
Finish ( ) : void
ReadAndValidateGzipHeader ( ) : int
ReadZeroTerminatedString ( ) : string

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

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

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long ///
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long ///
return void

Write() public method

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

ZlibBaseStream() public method

public ZlibBaseStream ( Stream stream, CompressionMode compressionMode, CompressionLevel level, ZlibStreamFlavor flavor, bool leaveOpen ) : System
stream Stream
compressionMode CompressionMode
level CompressionLevel
flavor ZlibStreamFlavor
leaveOpen bool
return System

Property Details

GzipComment protected_oe property

protected string GzipComment
return string

GzipFileName protected_oe property

protected string GzipFileName
return string

GzipHeaderByteCount protected_oe property

protected int GzipHeaderByteCount
return int

Mode protected_oe property

protected StreamMode Mode
return StreamMode

Stream protected_oe property

protected Stream Stream
return Stream

ZlibCodec protected_oe property

protected ZlibCodec,Zlib ZlibCodec
return ZlibCodec