Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- encodeHyphenated :: Word128 -> ByteArray
- builderHyphenated :: Word128 -> Builder 36
- decodeHyphenated :: Bytes -> Maybe Word128
- parserHyphenated :: e -> Parser e s Word128
- encodeUnhyphenated :: Word128 -> ByteArray
- builderUnhyphenated :: Word128 -> Builder 32
- parserUnhyphenated :: e -> Parser e s Word128
- decodeUnhyphenated :: Bytes -> Maybe Word128
- decodeLenient :: Bytes -> Maybe Word128
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
builderHyphenated :: Word128 -> Builder 36 Source #
parserHyphenated :: e -> Parser e s Word128 Source #
Parser type from bytesmith
builderUnhyphenated :: Word128 -> Builder 32 Source #
parserUnhyphenated :: e -> Parser e s Word128 Source #