-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | UUID parsing using byteverse packages
--
-- This packages provides bytesmith parsers and byteslice
-- encoders for 128bit UUIDs in hexadecimal format.
@package uuid-bytes
@version 0.1.2.0
module UUID
-- | 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
encodeHyphenated :: Word128 -> ByteArray
builderHyphenated :: Word128 -> Builder 36
decodeHyphenated :: Bytes -> Maybe Word128
-- | Parser type from bytesmith
parserHyphenated :: e -> Parser e s Word128
encodeUnhyphenated :: Word128 -> ByteArray
builderUnhyphenated :: Word128 -> Builder 32
parserUnhyphenated :: e -> Parser e s Word128
decodeUnhyphenated :: Bytes -> Maybe Word128
-- | decodes uuid with out without hyphens
decodeLenient :: Bytes -> Maybe Word128