hasValidJPEGEnding

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

bool
hasValidJPEGEnding
(
const ubyte[] fileContents
)

Parameters

fileContents ubyte[]

Contents of a (possibly) JPEG file.

Meta