Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct {
Characteristics uint32
Timestamp uint32
Major uint16
Minor uint16
NumberNamedEntries uint16
NumberIDEntries uint16
}
Directory represents the layout of the resource directory.
type DirectoryEntry ¶
DirectoryEntry defines the entry in the directory table.
func (DirectoryEntry) DirOffset ¶
func (e DirectoryEntry) DirOffset() uint32
DirOffset returns the offset into the resource directory.
func (DirectoryEntry) IsDir ¶
func (e DirectoryEntry) IsDir() bool
IsDir indicates if this resource entry is a directory instead of resource final data.
func (DirectoryEntry) IsString ¶
func (e DirectoryEntry) IsString() bool
IsString determines if this resource contains string data.
func (DirectoryEntry) Size ¶
func (e DirectoryEntry) Size() int
Size returns the size in bytes of the resource entry.
type FixedFileinfo ¶
type FixedFileinfo struct {
Signature uint32
StructVer uint32
FileVersionMS uint32
FileVersionLS uint32
ProductVersionMS uint32
ProductVersionLS uint32
FileFlagMask uint32
FileFlags uint32
FileOS uint32
FileType uint32
FileSubtype uint32
FileDateMS uint32
FileDateLS uint32
}
FixedFileinfo stores attributes that describe the FixedFileInformation entries.
func (FixedFileinfo) Size ¶
func (f FixedFileinfo) Size() int
Size returns the size of this structure in bytes.
type ID ¶
type ID uint32
ID is the type for identifying resource types
const ( // Version defines version resources Version ID = 16 )
type StringFileInfo ¶
StringFileInfo contains information about string file info entries.
func (StringFileInfo) Size ¶
func (s StringFileInfo) Size() int
Size returns the size of this structure in bytes.
func (StringFileInfo) Skip ¶
func (s StringFileInfo) Skip() bool
Skip decides whether to ignore processing the StringFileInfo entries.
type StringTable ¶
StringTable contains information about string table entries.
func (StringTable) Size ¶
func (s StringTable) Size() int
Size returns the size of this structure in bytes.
type VersionInfo ¶
VersionInfo contains information about version entries.