isValidFile method

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

A light-weight function to test if the given file is able to be decoded by this Decoder.

Implementation

@override
bool isValidFile(List<int> bytes) => PsdImage(bytes).isValid;