hex -package:text

hex = base 16
Render an integer using hexadecimal notation. (No leading 0x is added.) Has a specialized implementation.
Render an integer using hexadecimal notation. (No leading "0x" is added.)
Show a number in hex, without prefix, or types.
Convert strings into hexadecimal and back. Convert strings into hexadecimal and back.
Hexadecimal formatting with maximum-bit length
Common Parsers Parse at least one hex digit.
Render an integral type in hexadecimal.
Newtype wrapper to parse and produce integral numbers in hexadecimal format
Convert strings into hexadecimal and back.
Convert strings into hexadecimal and back.
This module contains ByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes padded and unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ShortByteString-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded and decoding variants, as well as internal and external validation for canonicity.
This module contains Text-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded and unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains Text-valued combinators for implementing the RFC 4648 specification of the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, as well as internal and external validation for canonicity.
This module contains ShortText-valued combinators implementing the RFC 4648 specification for the Base32hex encoding format. This includes strictly padded/unpadded decoding variants, and external + internal validations for canonicity.
Basic type
>>> 255 :: Hex
0x0000_0000_0000_00ff
Parses a hexadecimal digit (a digit or a letter between 'a' and 'f' or 'A' and 'F'). Returns the parsed character.
Parses a non-negative whole number in the hexadecimal system. The number should be prefixed with "x" or "X". Returns the value of the number.