Constructor ZstandardCodec
ZstandardCodec(int, bool)
Creates a zstandard codec.
public ZstandardCodec(int level = 3, bool checksum = false)
Parameters
levelintThe compression level, from MinLevel (fastest) to MaxLevel (smallest); it affects writing only.
checksumboolWhether each frame carries a checksum of its content, verified when it is read. Without one (the default, as in Java), a damaged block may decompress to other bytes instead of failing.
Exceptions
- ArgumentOutOfRangeException
levelis outside the supported range.