Skip to content

Interface: HexOptions

Properties

PropertyTypeDescription
byteAligned?booleanhex decoded representation must be byte aligned. Default false
prefix?boolean | "optional"controls whether the prefix 0x or 0X is allowed (or required) on hex strings. When true, the prefix must be provided. When false, the prefix is forbidden. When optional, the prefix is allowed but not required. Default false