The C1ZStreamWriter type exposes the following members.

Constructors

  Name Description
Public method C1ZStreamWriter(Stream)
Initializes a new instance of the C1ZStreamWriter class.
Public method C1ZStreamWriter(Stream, CompressionLevelEnum)
Initializes a new instance of the C1ZStreamWriter class.
Public method C1ZStreamWriter(Stream, Boolean)
Initializes a new instance of the C1ZStreamWriter class.
Public method C1ZStreamWriter(Stream, CompressionLevelEnum, Boolean)
Initializes a new instance of the C1ZStreamWriter class.
Public method C1ZStreamWriter(Stream, Boolean, Boolean)
Initializes a new instance of the C1ZStreamWriter class.
Public method C1ZStreamWriter(Stream, CompressionLevelEnum, Boolean, Boolean)
Initializes a new instance of the C1ZStreamWriter 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
Not supported.
(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 (Inherited from Stream.)
Public method Seek
Not supported.
(Overrides Stream..::..Seek(Int64, SeekOrigin).)
Public method SetLength
Not supported.
(Overrides Stream..::..SetLength(Int64).)
Public method ToString (Inherited from Object.)
Public method Write
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(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
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
(Overrides Stream..::..WriteByte(Byte).)

Properties

  Name Description
Public property BaseStream
Gets the underlying stream that receives the compressed data.
Public property CanRead
Always returns False.
(Overrides Stream..::..CanRead.)
Public property CanSeek
Always returns False.
(Overrides Stream..::..CanSeek.)
Public property CanTimeout (Inherited from Stream.)
Public property CanWrite
Always returns True.
(Overrides Stream..::..CanWrite.)
Public property Checksum
Gets the checksum value used to check the integrity of the stream.
Public property Length
Returns the length of the underlying stream, in bytes.
(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