decoding library

Functions

decodeLottieBytes(List<int> bytes, {int maximumBytes = 16 * 1024 * 1024}) → Uint8List
Detects TGS/gzip by its signature, returning UTF-8 JSON bytes. Uses native dart:io streaming zlib on native platforms with zip-bomb enforcement, falling back to package:archive on web.