Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
ucs2le_decode :: DecodeBuffer Source #
ucs2le_encode :: EncodeBuffer Source #
decodeWith :: TextEncoding -> ShortByteString -> Either EncodingException String Source #
encodeWith :: TextEncoding -> String -> Either EncodingException ShortByteString Source #
data EncodingException Source #
EncodingError String (Maybe Word8) | Could not decode a byte sequence because it was invalid under the given encoding, or ran out of input in mid-decode. |
Instances
Eq EncodingException Source # | |
Defined in System.AbstractFilePath.Encoding (==) :: EncodingException -> EncodingException -> Bool (/=) :: EncodingException -> EncodingException -> Bool | |
Show EncodingException Source # | |
Defined in System.AbstractFilePath.Encoding showsPrec :: Int -> EncodingException -> ShowS show :: EncodingException -> String showList :: [EncodingException] -> ShowS | |
NFData EncodingException Source # | |
Defined in System.AbstractFilePath.Encoding rnf :: EncodingException -> () | |
Exception EncodingException Source # | |
Defined in System.AbstractFilePath.Encoding toException :: EncodingException -> SomeException fromException :: SomeException -> Maybe EncodingException displayException :: EncodingException -> String |
showEncodingException :: EncodingException -> String Source #