encoding-0.8.2: A library for various character encodings
Data.Encoding.BootString
Description
This implements BootString en- and decoding, the foundation of Punycode
data BootString Source #
Constructors
Fields
Instances
Methods
(==) :: BootString -> BootString -> Bool #
(/=) :: BootString -> BootString -> Bool #
showsPrec :: Int -> BootString -> ShowS #
show :: BootString -> String #
showList :: [BootString] -> ShowS #
decodeChar :: ByteSource m => BootString -> m Char Source #
encodeChar :: ByteSink m => BootString -> Char -> m () Source #
decode :: ByteSource m => BootString -> m String Source #
encode :: ByteSink m => BootString -> String -> m () Source #
encodeable :: BootString -> Char -> Bool Source #
punycode :: BootString Source #