startDecode method

  1. @override
DecodeInfo? startDecode(
  1. Uint8List bytes
)
override

Start decoding the data as an animation sequence, but don't actually process the frames until they are requested with decodeFrame.

Implementation

@override
DecodeInfo? startDecode(Uint8List bytes) {
  input = InputBuffer(bytes, bigEndian: true);
  return info = JpegData().readInfo(bytes);
}