decode method

  1. @override
Buffer<int> decode(
  1. List<int> encoded, {
  2. PixelFormat<int, void> format = abgr8888,
})
override

Decodes encoded data.

The input is decoded as if by decoder.convert.

Implementation

@override
Buffer<int> decode(
  List<int> encoded, {
  PixelFormat<int, void> format = abgr8888,
}) {
  return packedBitmapDecoder.convert(encoded, format: format);
}