C# Class Cimbalino.Phone.Toolkit.Compression.ZlibBaseStream

Inheritance: System.IO.Stream
Mostra file Open project: Cimbalino/Cimbalino-Phone-Toolkit Class Usage Examples

Protected Properties

Property Type Description
Strategy CompressionStrategy
_GzipComment string
_GzipFileName string
_GzipMtime System.DateTime
_buf1 byte[]
_bufferSize int
_compressionMode CompressionMode
_flavor ZlibStreamFlavor
_flushMode FlushType
_gzipHeaderByteCount int
_leaveOpen bool
_level CompressionLevel
_stream System.IO.Stream
_streamMode StreamMode
_workingBuffer byte[]
_z ZlibCodec

Private Properties

Property Type Description
ReadZeroTerminatedString string
_ReadAndValidateGzipHeader int
end void
finish void

Public Methods

Method Description
Close ( ) : void
CompressBuffer ( byte b, Stream compressor ) : void
CompressString ( String s, Stream compressor ) : void
Flush ( ) : void
Read ( System buffer, System offset, System count ) : Int32
Read ( ) : int
Seek ( System offset, System origin ) : System.Int64
SetLength ( System value ) : void
UncompressBuffer ( byte compressed, Stream decompressor ) : byte[]
UncompressString ( byte compressed, Stream decompressor ) : String
Write ( System buffer, int offset, int count ) : void
ZlibBaseStream ( System stream, CompressionMode compressionMode, CompressionLevel level, ZlibStreamFlavor flavor, bool leaveOpen ) : System

Private Methods

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

Method Details

Close() public method

public Close ( ) : void
return void

CompressBuffer() public static method

public static CompressBuffer ( byte b, Stream compressor ) : void
b byte
compressor Stream
return void

CompressString() public static method

public static CompressString ( String s, Stream compressor ) : void
s String
compressor Stream
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

UncompressBuffer() public static method

public static UncompressBuffer ( byte compressed, Stream decompressor ) : byte[]
compressed byte
decompressor Stream
return byte[]

UncompressString() public static method

public static UncompressString ( byte compressed, Stream decompressor ) : String
compressed byte
decompressor Stream
return String

Write() public method

public Write ( System buffer, int offset, int count ) : void
buffer System
offset int
count int
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

Strategy protected_oe property

protected CompressionStrategy Strategy
return CompressionStrategy

_GzipComment protected_oe property

protected string _GzipComment
return string

_GzipFileName protected_oe property

protected string _GzipFileName
return string

_GzipMtime protected_oe property

protected DateTime,System _GzipMtime
return System.DateTime

_buf1 protected_oe property

protected byte[] _buf1
return byte[]

_bufferSize protected_oe property

protected int _bufferSize
return int

_compressionMode protected_oe property

protected CompressionMode _compressionMode
return CompressionMode

_flavor protected_oe property

protected ZlibStreamFlavor _flavor
return ZlibStreamFlavor

_flushMode protected_oe property

protected FlushType _flushMode
return FlushType

_gzipHeaderByteCount protected_oe property

protected int _gzipHeaderByteCount
return int

_leaveOpen protected_oe property

protected bool _leaveOpen
return bool

_level protected_oe property

protected CompressionLevel _level
return CompressionLevel

_stream protected_oe property

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

_streamMode protected_oe property

protected StreamMode _streamMode
return StreamMode

_workingBuffer protected_oe property

protected byte[] _workingBuffer
return byte[]

_z protected_oe property

protected ZlibCodec,Cimbalino.Phone.Toolkit.Compression _z
return ZlibCodec