C# Class Ionic.Zlib.ZlibBaseStream

Inheritance: System.IO.Stream
Show file Open project: PlayFab/PlayFab-Samples 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, System.Stream compressor ) : void
CompressString ( String s, System.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, System.Stream decompressor ) : byte[]
UncompressString ( byte compressed, System.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, System.Stream compressor ) : void
b byte
compressor System.Stream
return void

CompressString() public static method

public static CompressString ( String s, System.Stream compressor ) : void
s String
compressor System.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, System.Stream decompressor ) : byte[]
compressed byte
decompressor System.Stream
return byte[]

UncompressString() public static method

public static UncompressString ( byte compressed, System.Stream decompressor ) : String
compressed byte
decompressor System.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 property

protected CompressionStrategy Strategy
return CompressionStrategy

_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[]

_bufferSize protected property

protected int _bufferSize
return int

_compressionMode protected property

protected CompressionMode _compressionMode
return CompressionMode

_flavor protected property

protected ZlibStreamFlavor _flavor
return ZlibStreamFlavor

_flushMode protected property

protected FlushType _flushMode
return FlushType

_gzipHeaderByteCount protected property

protected int _gzipHeaderByteCount
return int

_leaveOpen protected property

protected bool _leaveOpen
return bool

_level protected property

protected CompressionLevel _level
return CompressionLevel

_stream protected property

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

_streamMode protected property

protected StreamMode _streamMode
return StreamMode

_workingBuffer protected property

protected byte[] _workingBuffer
return byte[]

_z protected property

protected ZlibCodec,Ionic.Zlib _z
return ZlibCodec