| ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Synopsis | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Documentation | ||||||||||||||||||||||||||||||||
| data StringBuffer | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Creation/destruction | ||||||||||||||||||||||||||||||||
| hGetStringBuffer :: FilePath -> IO StringBuffer | ||||||||||||||||||||||||||||||||
| hGetStringBufferBlock :: Handle -> Int -> IO StringBuffer | ||||||||||||||||||||||||||||||||
| appendStringBuffers :: StringBuffer -> StringBuffer -> IO StringBuffer | ||||||||||||||||||||||||||||||||
| stringToStringBuffer :: String -> IO StringBuffer | ||||||||||||||||||||||||||||||||
| Inspection | ||||||||||||||||||||||||||||||||
| nextChar :: StringBuffer -> (Char, StringBuffer) | ||||||||||||||||||||||||||||||||
| currentChar :: StringBuffer -> Char | ||||||||||||||||||||||||||||||||
| prevChar :: StringBuffer -> Char -> Char | ||||||||||||||||||||||||||||||||
| atEnd :: StringBuffer -> Bool | ||||||||||||||||||||||||||||||||
| Moving and comparison | ||||||||||||||||||||||||||||||||
| stepOn :: StringBuffer -> StringBuffer | ||||||||||||||||||||||||||||||||
| offsetBytes :: Int -> StringBuffer -> StringBuffer | ||||||||||||||||||||||||||||||||
| byteDiff :: StringBuffer -> StringBuffer -> Int | ||||||||||||||||||||||||||||||||
| Conversion | ||||||||||||||||||||||||||||||||
| lexemeToString :: StringBuffer -> Int -> String | ||||||||||||||||||||||||||||||||
| lexemeToFastString :: StringBuffer -> Int -> FastString | ||||||||||||||||||||||||||||||||
| Parsing integers | ||||||||||||||||||||||||||||||||
| parseUnsignedInteger :: StringBuffer -> Int -> Integer -> (Char -> Int) -> Integer | ||||||||||||||||||||||||||||||||
| XXX assumes ASCII digits only (by using byteOff) | ||||||||||||||||||||||||||||||||
| Produced by Haddock version 2.3.0 | ||||||||||||||||||||||||||||||||