magic
Types used to parse and enforce specific magic numbers
Types
std::string::SizedString
std::string::SizedString
A ASCII string with a prefixed size.
<SizeType>
: The type of the size field.
std::string::SizedString16
std::string::SizedString16
A UTF-16 string with a prefixed size.
<SizeType>
: The type of the size field.
std::string::SizedStringBase
std::string::SizedStringBase
Base type for sized strings. Represents a string with its size preceeding it.
<SizeType>
: The type of the size field.<DataType>
: The type of the characters.
type::Magic
type::Magic
A Magic number. Throws an error if the magic number does not match the expected value
<ExpectedValue>
: A string representing the expected value
Functions
type::fm
type::fm
Last updated