The C1ZStreamReader type exposes the following members.

Constructors

  Name Description
Public method C1ZStreamReader(Stream)
Initializes a new instance of the C1ZStreamReader class.
Public method C1ZStreamReader(Stream, Boolean)
Initializes a new instance of the C1ZStreamReader class.
Public method C1ZStreamReader(Stream, Boolean, Boolean)
Initializes a new instance of the C1ZStreamReader class.
Public method C1ZStreamReader(Stream, Boolean, Int32)
Initializes a new instance of the C1ZStreamReader class.
Public method C1ZStreamReader(Stream, Boolean, Int32, Int32)
Initializes a new instance of the C1ZStreamReader class.
Public method C1ZStreamReader(Stream, Boolean, Int64, Int32)
Initializes a new instance of the C1ZStreamReader class.

Methods

  Name Description
Public method BeginRead (Inherited from Stream.)
Public method BeginWrite (Inherited from Stream.)
Public method Close

Closes the current stream compressor and flushed any pending data into the base stream.

If the OwnsBaseStream property is set to True (the default value), then this method also closes the base stream and releases any resources (such as sockets and file handles) associated with it.

(Overrides Stream..::..Close()()()().)
Public method CopyTo(Stream) (Inherited from StreamStream.)
Public method CopyTo(Stream, Int32) (Inherited from StreamStream.)
Public method CopyToAsync(Stream) (Inherited from Stream.)
Public method CopyToAsync(Stream, Int32) (Inherited from Stream.)
Public method CopyToAsync(Stream, Int32, CancellationToken) (Inherited from Stream.)
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Dispose (Inherited from Stream.)
Public method EndRead (Inherited from Stream.)
Public method EndWrite (Inherited from Stream.)
Public method Equals (Inherited from Object.)
Public method Flush
Clears all buffers for this stream and causes any buffered data to be written to the underlying stream.
(Overrides Stream..::..Flush()()()().)
Public method FlushAsync()()()() (Inherited from Stream.)
Public method FlushAsync(CancellationToken) (Inherited from Stream.)
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Public method Read
Reads a sequence of bytes from the underlying compressed stream, decompressing them into a buffer, then advances the position within the stream by the number of bytes read.
(Overrides Stream..::..Read(array<Byte>[]()[][], Int32, Int32).)
Public method ReadAsync(array<Byte>[]()[][], Int32, Int32) (Inherited from Stream.)
Public method ReadAsync(array<Byte>[]()[][], Int32, Int32, CancellationToken) (Inherited from Stream.)
Public method ReadByte
Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream.
(Overrides Stream..::..ReadByte()()()().)
Public method Seek
Not supported.
(Overrides Stream..::..Seek(Int64, SeekOrigin).)
Public method SetLength
Sets the number of compressed bytes to read from the underlying stream.
(Overrides Stream..::..SetLength(Int64).)
Public method ToString (Inherited from Object.)
Public method Write
This method is overridden and is not supported by the C1ZStreamReader class.
(Overrides Stream..::..Write(array<Byte>[]()[][], Int32, Int32).)
Public method WriteAsync(array<Byte>[]()[][], Int32, Int32) (Inherited from Stream.)
Public method WriteAsync(array<Byte>[]()[][], Int32, Int32, CancellationToken) (Inherited from Stream.)
Public method WriteByte (Inherited from Stream.)

Properties

  Name Description
Public property BaseStream
Gets the underlying stream that contains the compressed data.
Public property CanRead
Always returns True.
(Overrides Stream..::..CanRead.)
Public property CanSeek
Always returns False.
(Overrides Stream..::..CanSeek.)
Public property CanTimeout (Inherited from Stream.)
Public property CanWrite
Always returns False.
(Overrides Stream..::..CanWrite.)
Public property Length
Gets the length of the compressed stream if it is known (or -1 if the length of the compressed stream is unknown).
(Overrides Stream..::..Length.)
Public property OwnsBaseStream
Gets or sets whether calling the Close()()()() method will also close the underlying stream (see BaseStream).
Public property Position
Gets the position within the stream (read-only).
(Overrides Stream..::..Position.)
Public property ReadTimeout (Inherited from Stream.)
Public property SizeCompressed
Gets the number of bytes in the stream (compressed bytes).
Public property SizeCompressedLong
Gets the number of bytes in the stream (compressed bytes).
Public property SizeUncompressed
Gets the number of bytes that were compressed into the stream (uncompressed bytes).
Public property SizeUncompressedLong
Gets the number of bytes that were compressed into the stream (uncompressed bytes).
Public property WriteTimeout (Inherited from Stream.)
Public property ZStream
Gets the ZStream instance wrapped by this C1ZStreamWriter.

See Also