ghc-9.0.2: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Utils.Encoding

Synopsis

UTF-8

utf8EncodeChar :: (Int# -> Word# -> State# s -> State# s) -> Char -> ST s Int Source #

Z-encoding

zEncodeString :: UserString -> EncodedString Source #

zDecodeString :: EncodedString -> UserString Source #

Base62-encoding

toBase62Padded :: Word64 -> String Source #

Converts a 64-bit word into a base-62 string