Documentation
¶
Overview ¶
Package magic implements the magic number detection for files and block devices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Magic ¶
type Magic struct {
// Value to search for.
Value []byte
// Offset in the file where the magic value is located.
Offset int
}
Magic defines a filesystem/volume manager/etc magic value.
Click to show internal directories.
Click to hide internal directories.