detect
Detects the type of the executable file from the provided DataAccessor.
Return
the detected ExecutableFileType, or null
if the type could not be detected
Parameters
dataAccessor
the data accessor to read the file header.
Throws
if an I/O error occurs
Detects the type of the executable file from the provided ByteArray.
Return
the detected ExecutableFileType, or null
if the type could not be detected
Parameters
data
the data to read the file header.