encodeStringTable(
strings):Uint8Array
Defined in: packages/wire/src/string-table.ts:16
Encode strings as flags, byte offsets, and one contiguous UTF-8 blob.
Parameters
Section titled “Parameters”strings
Section titled “strings”readonly string[]
Returns
Section titled “Returns”Uint8Array
Throws
Section titled “Throws”With INVALID_STRING when a string contains an unpaired surrogate, or
INVALID_ARGUMENT when the encoded table exceeds a representable limit.