Table of Contents

Constructor Bzip2Codec

Namespace
AvroSharp.Codecs
Assembly
AvroSharp.Codecs.dll

Bzip2Codec(int)

Creates a bzip2 codec.

public Bzip2Codec(int blockSize = 9)

Parameters

blockSize int

The bzip2 block size in units of 100 KB, from 1 to 9. Larger blocks compress better and use more memory; it affects writing only.

Exceptions

ArgumentOutOfRangeException

blockSize is outside 1 to 9.