decode static method
Decodes the Brotli bytes.
If maxOutputSize is provided, throws a BrotliException when the
decoded size exceeds it (checked while decoding). Without it, the
brotli_fast default limit applies (brotliDefaultMaxOutputSize).
Implementation
static Uint8List decode(Uint8List bytes, {int? maxOutputSize}) =>
brotliDecode(
bytes,
maxOutputSize: maxOutputSize ?? brotliDefaultMaxOutputSize,
);