isValidFile method

  1. @override
bool isValidFile(
  1. List<int> bytes
)
override

Is the given file a valid Gif image?

Implementation

@override
bool isValidFile(List<int> bytes) {
  _input = InputBuffer(bytes);
  info = GifInfo();
  return _getInfo();
}