Click or drag to resize
CompressedStream Class
Represents stream which allows read/write compressed information from/to given input stream.
Inheritance Hierarchy

Namespace: Telerik.Windows.Zip
Assembly: Telerik.Windows.Zip (in Telerik.Windows.Zip.dll) Version: 2017.2.607.40 (2017.2.607.40)
Syntax
public class CompressedStream : OperationStream

The CompressedStream type exposes the following members.

Constructors
  NameDescription
Public methodCompressedStream(Stream, StreamOperationMode, CompressionSettings)
Initializes a new instance of the CompressedStream class.
Public methodCompressedStream(Stream, StreamOperationMode, CompressionSettings, Boolean, EncryptionSettings)
Initializes a new instance of the CompressedStream class.
Top
Methods
  NameDescription
Protected methodDispose
Releases the unmanaged resources used by the Stream and optionally releases the managed resources.
(Overrides OperationStreamDispose(Boolean).)
Protected methodEnsureNotDisposed
Ensure that current stream is not disposed.
(Inherited from OperationStream.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OperationStream.)
Public methodFlush
Clears all buffers for this stream and causes any buffered data to be written to the underlying device.
(Inherited from OperationStream.)
Public methodRead
Reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides OperationStreamRead(Byte, Int32, Int32).)
Public methodSeek
Sets the position within the current stream.
(Inherited from OperationStream.)
Public methodSetLength
Sets the length of the current stream.
(Overrides OperationStreamSetLength(Int64).)
Public methodWrite
Writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides OperationStreamWrite(Byte, Int32, Int32).)
Top
Properties
  NameDescription
Public propertyCanRead
Gets a value indicating whether the current stream supports reading.
(Inherited from OperationStream.)
Public propertyCanSeek
Gets a value indicating whether the current stream supports seeking.
(Inherited from OperationStream.)
Public propertyCanWrite
Gets a value indicating whether the current stream supports writing.
(Inherited from OperationStream.)
Public propertyChecksum
Gets checksum calculated for this stream starting from the first read/write operation and up to the Flush call.
Public propertyCompressedSize
Gets the compressed size of the stream.
Public propertyHasFlushedFinalBlock
Gets a value which indicates whether the final buffer block has been written/read to/from the underlying stream.
(Inherited from OperationStream.)
Public propertyLength
Gets the length in bytes of the stream.
(Inherited from OperationStream.)
Public propertyPosition
Gets or sets the position within the current stream.
(Inherited from OperationStream.)
Public propertyTotalPlainCount
Gets value which specify total plain bytes count (not-compressed and not-encrypted).
(Inherited from OperationStream.)
Public propertyTotalTransformedCount
Gets value which specify total transformed bytes count (compressed or encrypted).
(Inherited from OperationStream.)
Top
Events
  NameDescription
Public eventChecksumReady
Event occurs when calculation of the checksum for this stream is completed.
Top
See Also