Index

Constructor methods

Methods

Constructor methods

constructor(underlyingStream: IOutputStream): Compressor

Parameters

Returns

Compressor

constructor(underlyingStream: IOutputStream, algorithm: CompressAlgorithm, blockSize: number): Compressor

Parameters

Returns

Compressor

Methods

public close()

public detachStream(): IOutputStream

Returns

IOutputStream

public dispose()

public finishAsync(): IAsyncOperation

Returns

IAsyncOperation

public flushAsync(): IAsyncOperation

Returns

IAsyncOperation

public writeAsync(buffer: IBuffer): IAsyncOperationWithProgress

Parameters

Returns

IAsyncOperationWithProgress