Class | Description |
---|---|
BaseLongType |
Base class for those types which use long types to compare.
|
BigEndianString16Type |
A two-byte unicode (UCS16) string in big-endian byte order.
|
ByteType |
A one-byte value.
|
DefaultType |
This is intended to be used with the test @code{x} (which is always true) and a message that is to be used if there
are no other matches.
|
DoubleType |
A 64-bit double precision IEEE floating point number in this machine's native byte order.
|
FloatType |
A 32-bit single precision IEEE floating point number in this machine's native byte order.
|
Id3LengthType |
A four-byte integer value where the high bit of each byte is ignored.
|
IntegerType |
A four-byte integer value which often handles the "long" types when the spec was written.
|
LittleEndianString16Type |
A two-byte unicode (UCS16) string in little-endian byte order.
|
LocalDateType |
A 4-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
|
LocalLongDateType |
An 8-byte value interpreted as a UNIX-style date, but interpreted as local time rather than UTC.
|
LongType |
An eight-byte value constituted "quad" when the magic file spec was written.
|
NumberComparison |
Internal class that compares a number from the bytes with the value from the magic rule.
|
NumberType |
Base class for our numbers so we can do generic operations on them.
|
PatternUtils |
Some common pattern utilities used by multiple types.
|
PStringType |
A Pascal-style string where the first byte is interpreted as the an unsigned length.
|
RegexType |
From the magic(5) man page: A regular expression match in extended POSIX regular expression syntax (like egrep).
|
SearchType |
From the magic(5) man page: A literal string search starting at the given line offset.
|
ShortType |
A two-byte value.
|
StringType |
From the magic(5) man page: A string of bytes.
|
StringType.TestInfo |
Internal holder for test information about strings.
|
UtcDateType |
A 4-byte value interpreted as a UNIX date in UTC timezone.
|
UtcLongDateType |
A 8-byte value interpreted as a UNIX date in UTC timezone.
|
Enum | Description |
---|---|
StringOperator |
Internal class that provides information about a particular test.
|
TestOperator |
Operators for tests.
|
Various types which do the pattern matching.
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.