Methods
bool
- bool(value): IBinaryWriter
bytes
- bytes(value): IBinaryWriter
double
- double(value): IBinaryWriter
finish
- finish(): Uint8Array
Returns Uint8Array
fixed32
- fixed32(value): IBinaryWriter
fixed64
- fixed64(value): IBinaryWriter
Parameters
value: string | number | bigint
float
- float(value): IBinaryWriter
fork
- fork(): IBinaryWriter
int32
- int32(value): IBinaryWriter
int64
- int64(value): IBinaryWriter
Parameters
value: string | number | bigint
join
- join(): IBinaryWriter
raw
- raw(chunk): IBinaryWriter
sfixed32
- sfixed32(value): IBinaryWriter
sfixed64
- sfixed64(value): IBinaryWriter
Parameters
value: string | number | bigint
sint32
- sint32(value): IBinaryWriter
sint64
- sint64(value): IBinaryWriter
Parameters
value: string | number | bigint
string
- string(value): IBinaryWriter
tag
- tag(fieldNo, type): IBinaryWriter
uint32
- uint32(value): IBinaryWriter
uint64
- uint64(value): IBinaryWriter
Parameters
value: string | number | bigint
Write a
bool
value, a variant.