hasValidPNGEnding

Detects whether a passed array of bytes has a valid PNG ending.

bool
hasValidPNGEnding
(
const ubyte[] fileContents
)

Parameters

fileContents ubyte[]

Contents of a (possibly) PNG file.

Meta