startDecode method

  1. @override
DecodeInfo? startDecode(
  1. List<int> 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(List<int> bytes) {
  input = InputBuffer(bytes, bigEndian: true);
  info = JpegData().readInfo(bytes);
  return info;
}