ComponentOne Zip for .NET
C1.C1Zip.4.5.2 Assembly / C1.C1Zip.ZLib Namespace / ZStream Class
Fields Methods

In This Topic
    ZStream Class Members
    In This Topic

    The following tables list the members exposed by ZStream.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public FieldCurrent checksum value (Adler or CRC32).  
    Public FieldNumber of bytes available in the input buffer.  
    Public FieldNumber of free bytes remaining in output buffer.  
    Public FieldDescription of the last error (null if no errors).  
    Public FieldInput buffer.  
    Public FieldPosition of cursor into input buffer.  
    Public FieldOutput buffer.  
    Public FieldPosition of cursor into the output buffer.  
    Public FieldTotal number of input bytes read so far.  
    Public FieldTotal number of bytes output so far.  
    Public FieldNo progress possible or no room in output buffer.  
    Public FieldInput data is corrupted (wrong format or checksum).  
    Public FieldFile error.  
    Public FieldNot enough memory.  
    Public FieldA preset dictionary is needed at this point.  
    Public FieldNo error.  
    Public FieldEnd of stream detected.  
    Public FieldStream structure is inconsistent (input/output buffers are null for example).  
    Public FieldIncompatible ZLIB version.  
    Top
    Public Methods
     NameDescription
    Public MethodCompresses as much data as possible, and stops when the input buffer becomes empty or the output buffer becomes full.  
    Public MethodFrees all dynamically allocated data structures for this stream, discards any unprocessed input, and does not flush any pending output.  
    Public MethodOverloaded. Initializes the internal stream state for compression.  
    Public MethodDynamically updates the compression level and compression strategy.  
    Public MethodInitializes the compression dictionary from the given byte sequence without producing any compressed output.  
    Public MethodDecompresses as much data as possible until the input buffer is exhausted or the output buffer is full.  
    Public MethodFrees all dynamically allocated data structures for this stream, discards any unprocessed input, and does not flush any pending output.  
    Public MethodOverloaded. Initializes the internal stream state for decompression.  
    Public MethodInitializes the decompression dictionary from the given uncompressed byte sequence.  
    Public MethodSkips invalid compressed data until a full flush point is found, or until all available input is skipped. No output is provided.  
    Top
    See Also