A Relish schema for u128 values
import { RU128, createCodec } from '@grounds/schema';
const codec = createCodec(RU128());
codec.encode(BigInt('340282366920938463463374607431768211455')).match(
(bytes) => console.log('U128 encoded:', bytes),
(error) => console.error(error)
);
RU64 for 64-bit unsigned
Creates a schema for unsigned 128-bit integers using JavaScript BigInt.
Use for extremely large unsigned integers not representable in 64 bits.