Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- bytesEqual :: ForeignPtr Word8 -> Int -> ForeignPtr Word8 -> Int -> Int -> Bool
- byteAt :: ForeignPtr Word8 -> Int -> Word8
- utf8Decode :: ForeignPtr Word8 -> Int -> (Char, Int)
- utf8DecodeFixed :: Int -> ForeignPtr Word8 -> Int -> Char
- utf8Width :: Char -> Int
Documentation
bytesEqual :: ForeignPtr Word8 -> Int -> ForeignPtr Word8 -> Int -> Int -> Bool Source #
utf8Decode :: ForeignPtr Word8 -> Int -> (Char, Int) Source #
Decode UTF-8 character at the given offset relative to the pointer
utf8DecodeFixed :: Int -> ForeignPtr Word8 -> Int -> Char Source #
Decode UTF-8 character with known width at the given offset relative to the pointer