Class ZipOutputStream
Represents a stream that can write into a compressed stream.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Spreadsheet.Zip
Assembly: Telerik.WinControls.RadSpreadsheet.dll
Syntax
public class ZipOutputStream : CompressedStream, IDisposable
Constructors
ZipOutputStream(Stream)
Initializes a new instance of the ZipOutputStream class.
Declaration
public ZipOutputStream(Stream baseStream)
Parameters
System.IO.Stream
baseStream
The stream that will be compressed. |
ZipOutputStream(Stream, CompressionMethod)
Initializes a new instance of the ZipOutputStream class.
Declaration
public ZipOutputStream(Stream baseStream, CompressionMethod method)
Parameters
System.IO.Stream
baseStream
The stream that will be compressed. |
CompressionMethod
method
The compression method. |
ZipOutputStream(Stream, ZipCompression)
Initializes a new instance of the ZipOutputStream class.
Declaration
public ZipOutputStream(Stream baseStream, ZipCompression compressionLevel)
Parameters
System.IO.Stream
baseStream
The stream that will be compressed. |
ZipCompression
compressionLevel
The compression level. |
Properties
BaseStream
The stream that is decompressed.
Declaration
public Stream BaseStream { get; }
Property Value
System.IO.Stream
|
UncompressedSize
Gets the uncompressed size of the stream.
Declaration
public int UncompressedSize { get; }
Property Value
System.Int32
|
Methods
WriteByte(Byte)
Writes a byte to the current position in the stream and advances the position within the stream by one byte.
Declaration
public override void WriteByte(byte value)
Parameters
System.Byte
value
The byte to write to the stream. |