GenMagic.Result (GenMagic v1.1.1) View Source
Represents the results obtained from libmagic.
Please note that this struct is only returned if the underlying check has succeeded.
Link to this section Summary
Link to this section Types
Specs
Represents the result.
Contains the MIME type, Encoding and Content fields returned by libmagic, as per the flags:
- MIME Type:
MAGIC_FLAGS_COMMON|MAGIC_MIME_TYPE
- Encoding:
MAGIC_FLAGS_COMMON|MAGIC_MIME_ENCODING
- Type Name (Content):
MAGIC_FLAGS_COMMON|MAGIC_NONE