Table of Contents

Interface ICompressor

Namespace
MongoDB.Driver.Core.Compression
Assembly
MongoDB.Driver.Core.dll

Represents a compressor.

public interface ICompressor

Properties

Type

Gets the compressor type.

CompressorType Type { get; }

Property Value

CompressorType

Methods

Compress(Stream, Stream)

Compresses the specified stream.

void Compress(Stream input, Stream output)

Parameters

input Stream

The input stream.

output Stream

The output stream.

Decompress(Stream, Stream)

Decompresses the specified stream.

void Decompress(Stream input, Stream output)

Parameters

input Stream

The input stream.

output Stream

The output stream.