@xylabs/hex
Version:
Base functionality used throughout XY Labs TypeScript/JavaScript libraries
8 lines • 393 B
TypeScript
import type { Hex, HexConfig } from '../model.ts';
/** Takes unknown value and tries our best to convert it to a hex string */
export declare const hexFrom: (
/** Supported types are string, number, bigint, and ArrayBuffer */
value: string | number | bigint | ArrayBufferLike,
/** Configuration of output format and validation */
config?: HexConfig) => Hex;
//# sourceMappingURL=from.d.ts.map