C# Class NetWrok.HTTP.Zlib.ZlibBaseStream

Inheritance: System.IO.Stream
Show file Open project: simonwittber/netwrok-client Class Usage Examples

Protected Properties

Property Type Description
WORKING_BUFFER_SIZE_DEFAULT int
WORKING_BUFFER_SIZE_MIN int
_GzipComment string
_GzipFileName string
_GzipMtime System.DateTime
_buf1 byte[]
_flavor ZlibStreamFlavor
_flushMode int
_leaveOpen bool
_stream System.IO.Stream
_streamMode StreamMode
_wantCompress bool
_workingBuffer byte[]
_z ZlibCodec

Private Properties

Property Type Description
ReadZeroTerminatedString string
_ReadAndValidateGzipHeader void
end void
finish void

Public Methods

Method Description
Close ( ) : void
Flush ( ) : void
Read ( System buffer, System offset, System count ) : Int32
Read ( ) : int
Seek ( System offset, System origin ) : System.Int64
SetLength ( System value ) : void
Write ( System buffer, int offset, int count ) : void
WriteByte ( byte b ) : void
ZlibBaseStream ( System stream, CompressionMode compressionMode, CompressionLevel level, ZlibStreamFlavor flavor, bool leaveOpen ) : System

Private Methods

Method Description
ReadZeroTerminatedString ( ) : string
_ReadAndValidateGzipHeader ( ) : void
end ( ) : void
finish ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( System buffer, System offset, System count ) : Int32
buffer System
offset System
count System
return System.Int32

Read() public method

public Read ( ) : int
return int

Seek() public method

public Seek ( System offset, System origin ) : System.Int64
offset System
origin System
return System.Int64

SetLength() public method

public SetLength ( System value ) : void
value System
return void

Write() public method

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

WriteByte() public method

public WriteByte ( byte b ) : void
b byte
return void

ZlibBaseStream() public method

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

Property Details

WORKING_BUFFER_SIZE_DEFAULT protected property

protected int WORKING_BUFFER_SIZE_DEFAULT
return int

WORKING_BUFFER_SIZE_MIN protected property

protected int WORKING_BUFFER_SIZE_MIN
return int

_GzipComment protected property

protected string _GzipComment
return string

_GzipFileName protected property

protected string _GzipFileName
return string

_GzipMtime protected property

protected DateTime,System _GzipMtime
return System.DateTime

_buf1 protected property

protected byte[] _buf1
return byte[]

_flavor protected property

protected ZlibStreamFlavor _flavor
return ZlibStreamFlavor

_flushMode protected property

protected int _flushMode
return int

_leaveOpen protected property

protected bool _leaveOpen
return bool

_stream protected property

protected System.IO.Stream _stream
return System.IO.Stream

_streamMode protected property

protected StreamMode _streamMode
return StreamMode

_wantCompress protected property

protected bool _wantCompress
return bool

_workingBuffer protected property

protected byte[] _workingBuffer
return byte[]

_z protected property

protected ZlibCodec,NetWrok.HTTP.Zlib _z
return ZlibCodec