Docs

FromBytesParameters

type FromBytesParameters<
TTo extends "string" | "hex" | "bigint" | "number" | "boolean",
> = TTo | { size?: number; to: TTo };