lz4FrameDecode function
Uint8List
lz4FrameDecode(
- Uint8List src, {
- int? maxOutputBytes,
- Lz4DictionaryResolver? dictionaryResolver,
Decodes one or more concatenated LZ4 frames from src.
If maxOutputBytes is provided, decoding will stop with an Exception if
the decompressed output would exceed that limit.
If the frame requires a dictionary (indicated by a dictionary ID),
dictionaryResolver must be provided to look up the dictionary bytes.
Implementation
Uint8List lz4FrameDecode(
Uint8List src, {
int? maxOutputBytes,
Lz4DictionaryResolver? dictionaryResolver,
}) {
return lz4FrameDecodeBytes(
src,
maxOutputBytes: maxOutputBytes,
dictionaryResolver: dictionaryResolver,
);
}