Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- isAscii :: ByteString -> Bool
- isUtf8 :: ByteString -> Bool
- isUtf8' :: ByteString -> Bool
ASCII
isAscii :: ByteString -> Bool Source #
O(n/8) detremine if a ByteString
is
ASCII-encoded.
UTF-8
isUtf8 :: ByteString -> Bool Source #