The OpenD Programming Language

qoix_lz4_encode

Encode in QOIX + LZ4. Result should be freed with free(). File format of final QOIX: QOIX header (QOIX_HEADER_SIZE bytes with compression = QOIX_COMPRESSION_LZ4) Original data size (4 bytes) LZ4 encoded opcodes Note: desc.compression is ignored. This function chooses the compression.

version(encodeQOIX)
nothrow @nogc @safe @trusted
ubyte*
qoix_lz4_encode
(
const(ubyte)* data
,
const(qoi_desc)* desc
,
int* out_len
)

Meta