decodeWithDecoder static method

Uint8List decodeWithDecoder(
  1. ChunkDecoder decoder,
  2. Uint8List data
)

Decodes the provided LZF-encoded data using a custom decoder.

Returns a Uint8List containing the uncompressed data.

Implementation

static Uint8List decodeWithDecoder(ChunkDecoder decoder, Uint8List data) =>
    decoder.decode(data);