Checks whether specified file data matches an extension. Currently this supports ".jpg, .jpeg, .gif, .png, .pdf"
The extension of the file.
The data to validate.
True if the data is valid for the extension given, false otherwise. Unhandled extensions returns true.
See Implementation
Checks whether specified file data matches an extension. Currently this supports ".jpg, .jpeg, .gif, .png, .pdf"