cupertino-files / decodeLzvn
Function: decodeLzvn()
decodeLzvn(
src,outLength):Uint8Array
Defined in: src/base/lzfse.ts:113
Decode one LZVN payload to exactly outLength bytes.
Truncated input, an undefined opcode, a zero or out-of-window match distance, output overrun, or a length mismatch at end-of-stream all throw — a collaboration log is small and there is nothing safe to do with half of one.
Parameters
src
Uint8Array
outLength
number
Returns
Uint8Array