Skip to content

WireString

WireString = Uint8Array | string

Defined in: packages/common/src/codecs/wire.ts:29

Represents either a bytes or string value coming off the wire.

When from msgpack it’s a Uint8Array for both bytes or string values. When from JSON it’s a base64-encoded bytes string or regular string.