Documentation
¶
Index ¶
- func IsAA(filePath string) (bool, error)
- func IsAEA(filePath string) (bool, error)
- func IsAEAData(rc io.Reader) (bool, error)
- func IsAPFS(filePath string) (bool, error)
- func IsBUND(filePath string) (bool, error)
- func IsDMG(filePath string) (bool, error)
- func IsEncryptedDMG(filePath string) (bool, error)
- func IsFTAB(filename string) (bool, error)
- func IsHFSPlus(filePath string) (bool, error)
- func IsIm4p(filePath string) (bool, error)
- func IsImg3(filePath string) (bool, error)
- func IsImg4(filePath string) (bool, error)
- func IsLZFSE(data []byte) (bool, error)
- func IsLZSS(data []byte) (bool, error)
- func IsMachO(filePath string) (bool, error)
- func IsMachOData(dat []byte) (bool, error)
- func IsMachoOrImg4(filePath string) (bool, error)
- func IsPBZX(filePath string) (bool, error)
- func IsPBZXData(r io.Reader) (bool, error)
- func IsXar(filePath string) (bool, error)
- func IsZip(filePath string) (bool, error)
- func IsZipData(r io.Reader) (bool, error)
- type Asn1Header
- type Magic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsEncryptedDMG ¶
func IsMachOData ¶
func IsMachoOrImg4 ¶
Types ¶
type Asn1Header ¶
type Asn1Header struct {
Raw asn1.RawContent
Name string `asn1:"ia5"` // IM4P
}
type Magic ¶
type Magic uint32
const ( Magic32 Magic = 0xfeedface Magic64 Magic = 0xfeedfacf MagicFatBE Magic = 0xcafebabe MagicFatLE Magic = 0xbebafeca MagicZip Magic = 0x504b0304 MagicYAA1 Magic = 0x31414159 // "YAA1" MagicAA01 Magic = 0x31304141 // "AA01" MagicAEA1 Magic = 0x41454131 // "AEA1" MagicPBZX = 0x70627a78 // "pbzx" )
Click to show internal directories.
Click to hide internal directories.