func EncodeExtendedAttributes(eas []ExtendedAttribute) ([]byte, error)
EncodeExtendedAttributes encodes a list of EAs into a FILE_FULL_EA_INFORMATION buffer for use with BackupWrite, ZwSetEaFile, etc.
ExtendedAttribute represents a single Windows EA.
type ExtendedAttribute struct { Name string Value []byte Flags uint8 }
func DecodeExtendedAttributes(b []byte) (eas []ExtendedAttribute, err error)
DecodeExtendedAttributes decodes a list of EAs from a FILE_FULL_EA_INFORMATION buffer retrieved from BackupRead, ZwQueryEaFile, etc.
Name | Synopsis |
---|---|
.. | |
backuptar | |
pkg | |
bindfilter | |
etw | Package etw provides support for TraceLogging-based ETW (Event Tracing for Windows). |
sample | Shows a sample usage of the ETW logging package. |
etwlogrus | |
fs | This package contains Win32 filesystem functionality. |
guid | Package guid provides a GUID type. |
process | |
security | |
tools | |
etw-provider-gen | |
mkwinsyscall | mkwinsyscall generates windows system call bodies |
vhd | |
wim | Package wim implements a WIM file parser. |
lzx | Package lzx implements a decompressor for the the WIM variant of the LZX compression algorithm. |
validate |