Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- utf8DecodeCharAddr# :: Addr# -> Int# -> (# Char#, Int# #)
- utf8PrevChar :: Ptr Word8 -> IO (Ptr Word8)
- utf8CharStart :: Ptr Word8 -> IO (Ptr Word8)
- utf8DecodeChar :: Ptr Word8 -> (Char, Int)
- utf8DecodeByteString :: ByteString -> [Char]
- utf8DecodeShortByteString :: ShortByteString -> [Char]
- utf8CompareShortByteString :: ShortByteString -> ShortByteString -> Ordering
- utf8DecodeStringLazy :: ForeignPtr Word8 -> Int -> Int -> [Char]
- utf8EncodeChar :: (Int# -> Word8# -> State# s -> State# s) -> Char -> ST s Int
- utf8EncodeString :: String -> ByteString
- utf8EncodeStringPtr :: Ptr Word8 -> String -> IO ()
- utf8EncodeShortByteString :: String -> IO ShortByteString
- utf8EncodedLength :: String -> Int
- countUTF8Chars :: ShortByteString -> IO Int
- zEncodeString :: UserString -> EncodedString
- zDecodeString :: EncodedString -> UserString
- toBase62 :: Word64 -> String
- toBase62Padded :: Word64 -> String
UTF-8
utf8DecodeByteString :: ByteString -> [Char] Source #
utf8DecodeStringLazy :: ForeignPtr Word8 -> Int -> Int -> [Char] Source #
utf8EncodeString :: String -> ByteString Source #
utf8EncodedLength :: String -> Int Source #
countUTF8Chars :: ShortByteString -> IO 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