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
Begins an asynchronous read operation.
(Inherited from Stream.)
Public method BeginWrite
Begins an asynchronous write operation.
(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 Dispose()()()()
Releases all resources used by the Stream.
(Inherited from StreamStream.)
Protected method Dispose(Boolean)
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Inherited from StreamStream.)
Public method EndRead
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
Public method EndWrite
Ends an asynchronous write operation.
(Inherited from Stream.)
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(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 GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Read
Not supported.
(Overrides Stream..::..Read(array<Byte>[]()[][], Int32, Int32).)
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.
(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
Returns a String that represents the current Object.
(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 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
Gets a value that determines whether the current stream can time out.
(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
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
(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
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)
Public property ZStream
Gets the ZStream instance wrapped by this C1ZStreamWriter.

See Also