Dela via


Compressor Constructors

Definition

Overloads

Compressor(IOutputStream)

Creates an instance of a compressor.

Compressor(IOutputStream, CompressAlgorithm, UInt32)

Creates an instance of a compressor.

Compressor(IOutputStream)

Creates an instance of a compressor.

public:
 Compressor(IOutputStream ^ underlyingStream);
 Compressor(IOutputStream const& underlyingStream);
public Compressor(IOutputStream underlyingStream);
function Compressor(underlyingStream)
Public Sub New (underlyingStream As IOutputStream)

Parameters

underlyingStream
IOutputStream

The stream of compressed information to be written by the compressor.

See also

Applies to

Compressor(IOutputStream, CompressAlgorithm, UInt32)

Creates an instance of a compressor.

public:
 Compressor(IOutputStream ^ underlyingStream, CompressAlgorithm algorithm, unsigned int blockSize);
 Compressor(IOutputStream const& underlyingStream, CompressAlgorithm const& algorithm, uint32_t const& blockSize);
public Compressor(IOutputStream underlyingStream, CompressAlgorithm algorithm, uint blockSize);
function Compressor(underlyingStream, algorithm, blockSize)
Public Sub New (underlyingStream As IOutputStream, algorithm As CompressAlgorithm, blockSize As UInteger)

Parameters

underlyingStream
IOutputStream

The stream of compressed information to be written by the compressor.

algorithm
CompressAlgorithm

The compression algorithm used by the compressor to write underlyingStream.

blockSize
UInt32

unsigned int

uint32_t

Size in bytes of the intermediate buffer used by the compression algorithm. A value of 0 specifies that the compression algorithm will use its default block size. Valid non-zero values for this parameter are 32Kb to 64Mb.

See also

Applies to