getMagic
const func string: getMagic (in string: data)
-
Determine the magic number (signature) of the given string data.
- Returns:
- the magic number (signature), or "" if no magic number was found.
getMagic
const func string: getMagic (inout file: inFile)
-
Determine the magic number (signature) of the given file inFile.
- Returns:
- the magic number (signature), or "" if no magic number was found.
magicDescription
const func string: magicDescription (in string: magic)
-
Determine a description corresponding to a magic number (signature).
- Returns:
- the description of a magic number.