Documentation
¶
Index ¶
Constants ¶
View Source
const StringTableNullTerminator = "\x00"
StringTableNullTerminator string table entries are always null terminated
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TexDataStringTable ¶
type TexDataStringTable struct {
// contains filtered or unexported fields
}
TexDataStringTable info lookup table Constructs from TexDataStringData & TexDataStringTable lump datas
func NewTable ¶
func NewTable(data string, lookupTable []int32) *TexDataStringTable
NewTable creates a new table from the contents of the TexDataStringData and TexDataStringTable lumps
func (*TexDataStringTable) AddOrFindString ¶
func (table *TexDataStringTable) AddOrFindString(s string) (int, error)
AddOrFindString adds a new string to the Table, unless it exists Returns the stringID of the newly added string, or the existing one if found
Click to show internal directories.
Click to hide internal directories.