Search


Search something to see results

StringTableData

structured-cloneable copy of a string table, see StringTable.export

interface StringTableData {
    count: number;
    ends: Int32Array;
    hashes: Int32Array;
    pool: Uint16Array;
    sources: Int32Array;
    starts: Int32Array;
    texts: string[];
    values: (string | undefined)[];
}

Index

Properties

count: number

number of strings

ends: Int32Array

end offset of each string in its source

hashes: Int32Array

hash of each string

pool: Uint16Array

code units of the pool

sources: Int32Array

source of each string: the index of its text in texts

starts: Int32Array

start offset of each string in its source

texts: string[]

text of each source, by source index

values: (string | undefined)[]

the strings of the StringSource.Value entries, by id