Libraries
Magic numbers Source Code
 previous   up   next 

Function Summary
string
getMagic (in string: data)
Determine the magic number (signature) of the given string data.
string
getMagic (inout file: inFile)
Determine the magic number (signature) of the given file inFile.
string
magicDescription (in string: magic)
Determine a description corresponding to a magic number (signature).

Function Detail

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.


 previous   up   next