bigint64 Type
Caution
If a value passed to .encode()
is outside the bigint64 range, an error will be thrown.
Information
- Used to describe integers from -(263) to 263 - 1.
- Requires 8 bytes for storage.
- Use
bigint
for assignment.
Example Usage
import { Serializer, t } from "encodexx"
const serializer = new Serializer({ info: { value: t.bigint64, }})
serializer.encode({ info: { value: 144_115_188_075_855_872n }});