initMemoryDecoder method

Future<AvifInfo> initMemoryDecoder({
  1. required String key,
  2. required Uint8List avifBytes,
  3. dynamic hint,
})
override

Implementation

Future<AvifInfo> initMemoryDecoder(
    {required String key, required Uint8List avifBytes, dynamic hint}) {
  var arg0 = _platform.api2wire_String(key);
  var arg1 = _platform.api2wire_uint_8_list(avifBytes);
  return _platform.executeNormal(FlutterRustBridgeTask(
    callFfi: (port_) =>
        _platform.inner.wire_init_memory_decoder(port_, arg0, arg1),
    parseSuccessData: _wire2api_avif_info,
    parseErrorData: null,
    constMeta: kInitMemoryDecoderConstMeta,
    argValues: [key, avifBytes],
    hint: hint,
  ));
}