isValidFile method
A light-weight function to test if the given file is able to be decoded by this Decoder.
Implementation
@override
bool isValidFile(Uint8List bytes) {
_input = InputBuffer(bytes);
_icoInfo = IcoInfo.read(_input!);
return _icoInfo != null;
}