NumberToHexOpts

type NumberToHexOpts =
| { signed?: boolean; size: number }
| { signed?: never; size?: number };