Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Flag ¶
type Flag uint16
Flag is an attribute flag.
const ( CompressionMask Flag = 0x00FF // ATTRIBUTE_FLAG_COMPRESSION_MASK Encrypted Flag = 0x4000 // ATTRIBUTE_FLAG_ENCRYPTED Sparse Flag = 0x8000 // ATTRIBUTE_FLAG_SPARSE KnownMask Flag = CompressionMask | Encrypted | Sparse UnknownMask Flag = ^KnownMask )
Attribute flags.
func Unmarshal ¶
Unmarshal unmarshals the little-endian binary representation of an attribute flag.
The provided data must be at least 2 bytes long, or unmarshal will panic.
func (Flag) ShortString ¶
ShortString returns a description of the attribute flags using single letter codes.
Click to show internal directories.
Click to hide internal directories.