@axiom-crypto/tools
Version:
Useful data, field, and byte manipulation tools for Axiom.
9 lines (8 loc) • 301 B
TypeScript
export declare const ByteLengths: Readonly<{
[key: string]: number;
}>;
export declare const MaxSizes: Readonly<{
[key: string]: BigInt;
}>;
export declare function getByteLength(type: string): number;
export declare function validateSize(value: number | string | BigInt, type: string): void;