decode static method
XcfDocument
decode(
- Uint8List bytes, {
- XcfReadOptions options = const XcfReadOptions(),
- int maxDictionaryBytes = 64 * 1024 * 1024,
Removes one envelope with size and dictionary limits, then decodes XCF.
Implementation
static XcfDocument decode(Uint8List bytes, {XcfReadOptions options = const XcfReadOptions(), int maxDictionaryBytes = 64 * 1024 * 1024}) => XcfCodec.decode(
unwrap(bytes, maxInputBytes: options.maxInputBytes, maxOutputBytes: options.maxInputBytes, maxDictionaryBytes: maxDictionaryBytes),
options: options,
);