The C1ZStreamReader type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
C1ZStreamReader(Stream) |
Initializes a new instance of the C1ZStreamReader class.
|
![]() |
C1ZStreamReader(Stream, Boolean) |
Initializes a new instance of the C1ZStreamReader class.
|
![]() |
C1ZStreamReader(Stream, Boolean, Boolean) |
Initializes a new instance of the C1ZStreamReader class.
|
![]() |
C1ZStreamReader(Stream, Boolean, Int32) |
Initializes a new instance of the C1ZStreamReader class.
|
![]() |
C1ZStreamReader(Stream, Boolean, Int32, Int32) |
Initializes a new instance of the C1ZStreamReader class.
|
![]() |
C1ZStreamReader(Stream, Boolean, Int64, Int32) |
Initializes a new instance of the C1ZStreamReader class.
|
Methods
Name | Description | |
---|---|---|
![]() |
BeginRead |
Begins an asynchronous read operation. (Inherited from Stream.) |
![]() |
BeginWrite |
Begins an asynchronous write operation. (Inherited from Stream.) |
![]() |
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. |
![]() |
Dispose()()()() |
Releases all resources used by the Stream. (Inherited from StreamStream.) |
![]() |
Dispose(Boolean) |
Releases the unmanaged resources used by the Stream and optionally releases the managed resources. (Inherited from StreamStream.) |
![]() |
EndRead |
Waits for the pending asynchronous read to complete. (Inherited from Stream.) |
![]() |
EndWrite |
Ends an asynchronous write operation. (Inherited from Stream.) |
![]() |
Equals |
Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() |
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.) |
![]() |
Flush |
Clears all buffers for this stream and causes any buffered data to be written to the underlying
stream.
(Overrides Stream..::..Flush()()()().) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
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).) |
![]() |
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()()()().) |
![]() |
Seek |
Not supported.
(Overrides Stream..::..Seek(Int64, SeekOrigin).) |
![]() |
SetLength |
Sets the number of compressed bytes to read from the underlying stream.
(Overrides Stream..::..SetLength(Int64).) |
![]() |
ToString |
Returns a String that represents the current Object. (Inherited from Object.) |
![]() |
Write |
This method is overridden and is not supported by the C1ZStreamReader class.
(Overrides Stream..::..Write(array<Byte>[]()[][], Int32, Int32).) |
![]() |
WriteByte |
Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from Stream.) |
Properties
Name | Description | |
---|---|---|
![]() |
BaseStream |
Gets the underlying stream that contains the compressed data.
|
![]() |
CanRead |
Always returns True.
(Overrides Stream..::..CanRead.) |
![]() |
CanSeek |
Always returns False.
(Overrides Stream..::..CanSeek.) |
![]() |
CanTimeout |
Gets a value that determines whether the current stream can time out. (Inherited from Stream.) |
![]() |
CanWrite |
Always returns False.
(Overrides Stream..::..CanWrite.) |
![]() |
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.) |
![]() |
OwnsBaseStream |
Gets or sets whether calling the Close()()()() method will also
close the underlying stream (see BaseStream).
|
![]() |
Position |
Gets the position within the stream (read-only).
(Overrides Stream..::..Position.) |
![]() |
ReadTimeout |
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from Stream.) |
![]() |
SizeCompressed |
Gets the number of bytes in the stream (compressed bytes).
|
![]() |
SizeCompressedLong |
Gets the number of bytes in the stream (compressed bytes).
|
![]() |
SizeUncompressed |
Gets the number of bytes that were compressed into the stream (uncompressed bytes).
|
![]() |
SizeUncompressedLong |
Gets the number of bytes that were compressed into the stream (uncompressed bytes).
|
![]() |
WriteTimeout |
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from Stream.) |
![]() |
ZStream |
Gets the ZStream instance wrapped by this C1ZStreamWriter.
|