BigInt
struct BigIntimport BigInt from Wax;Fixed-capacity nonnegative integer scratch storage for decimal parsing, with 62 little-endian 64-bit limbs. This is not a general arbitrary-precision integer: helpers rely on parser-established size limits and may truncate or refuse growth beyond capacity. Copies share the limb array; keep the returned len after arithmetic.
Members
limbsfield
public uint64[] limbsShared little-endian 64-bit limb storage; limb zero is least significant.
lenfield
public int32 lenThe active limb count, from zero to the backing capacity. Zero represents the value zero.
constructorconstructor
public constructor ()Allocates 62 zero limbs with active length zero.
ToStringmethod
public fn ToString() : stringProvided by the compiler.
ToStringBuffermethod
public fn ToStringBuffer(StringBuilder builder) : int32Provided by the compiler.