UNPKG

@xylabs/hex

Version:

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

9 lines 380 B
import type { Hex, HexConfig } from '../hex.ts'; /** * Converts a number to a hex string by converting to BigInt first. * @param value - The number to convert * @param config - Optional hex output configuration * @returns The hex string representation */ export declare const hexFromNumber: (value: number, config?: HexConfig) => Hex; //# sourceMappingURL=fromNumber.d.ts.map