Public Member Functions | |
ZlibBaseStream (System.IO.Stream stream, CompressionMode compressionMode, CompressionLevel level, bool leaveOpen) | |
override void | Write (System.Byte[] buffer, int offset, int count) |
void | End () |
override void | Close () |
override void | Flush () |
override System.Int64 | Seek (System.Int64 offset, System.IO.SeekOrigin origin) |
override void | SetLength (System.Int64 value) |
override System.Int32 | Read (System.Byte[] buffer, System.Int32 offset, System.Int32 count) |
void | ChangeDataToRead (int size) |
Static Public Member Functions | |
static void | CompressString (String s, Stream compressor) |
static void | CompressBuffer (byte[] b, Stream compressor) |
static String | UncompressString (byte[] compressed, Stream decompressor) |
static byte[] | UncompressBuffer (byte[] compressed, Stream decompressor) |
Package Types | |
enum | StreamMode { StreamMode.Writer, StreamMode.Reader, StreamMode.Undefined } |
Package Functions | |
void | ChangeStream (System.IO.Stream stream) |
Package Attributes | |
ZlibCodec | _z = null |
int | DataToRead =int.MaxValue |
A counter which tracks how much compressed data is left to go. More... | |
StreamMode | _streamMode = StreamMode.Undefined |
FlushType | _flushMode |
CompressionMode | _compressionMode |
CompressionLevel | _level |
bool | _leaveOpen |
byte[] | _workingBuffer |
int | _bufferSize = ZlibConstants.WorkingBufferSizeDefault |
byte[] | _buf1 = new byte[1] |
System.IO.Stream | _stream |
CompressionStrategy | Strategy = CompressionStrategy.Default |
Properties | |
bool | _wantCompress [get] |
ZlibCodec | z [get] |
int | bufferSize [get, set] |
byte[] | workingBuffer [get] |
override System.Boolean | CanRead [get] |
override System.Boolean | CanSeek [get] |
override System.Boolean | CanWrite [get] |
override System.Int64 | Length [get] |
override long | Position [get, set] |
Private Attributes | |
bool | nomoreinput = false |
|
package |
|
inline |
|
inline |
|
inlinepackage |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
|
package |
A counter which tracks how much compressed data is left to go.
|
private |
|
package |
|
getpackage |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
getprivate |
|
getprivate |