zstdErrorCode

fnZSTD_ErrorCode zstdErrorCode(size_t code) @safe

Returns the error code enum for the given ZSTD result.

Parameters

codeThe return value from a ZSTD function.

Returns

The ZSTD_ErrorCode corresponding to the error.