Class ZlibCodec

Namespace
CHDSharp.Encoder
Assembly
CHDSharpLib.dll

Zlib compression (raw DEFLATE), matching chdman -c zlib.

public sealed class ZlibCodec : IChdCodec
Inheritance
ZlibCodec
Implements
Inherited Members

Properties

Tag

The codec tag.

public uint Tag { get; }

Property Value

uint

Methods

Compress(byte[])

Compresses a full hunk. Returns null when the codec does not reduce the size.

public byte[]? Compress(byte[] data)

Parameters

data byte[]

Returns

byte[]