Interface IChdCodec

Namespace
CHDSharp.Encoder.Interfaces
Assembly
CHDSharpLib.dll

A hunk compression codec; compression type 0-3 in the map maps to codecs[0-3].

public interface IChdCodec

Properties

Tag

The four-character codec tag (see CodecTags).

uint Tag { get; }

Property Value

uint

Methods

Compress(byte[])

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

byte[]? Compress(byte[] data)

Parameters

data byte[]

Returns

byte[]