uuid-bytes-0.1.2.0: UUID parsing using byteverse packages

Safe HaskellNone
LanguageHaskell2010

UUID

Synopsis

Documentation

encodeHyphenated :: Word128 -> ByteArray Source #

In its canonical textual representation, the 16 octets of a UUID are represented as 32 hexadecimal (base-16) digits, displayed in 5 groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanumeric characters and 4 hyphens)

UUIDs can also be represented as a base62 encoding of a Word128

parserHyphenated :: e -> Parser e s Word128 Source #

Parser type from bytesmith

decodeLenient :: Bytes -> Maybe Word128 Source #

decodes uuid with out without hyphens