| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
DataFrame.Internal.Parsing.Fast.Int
Description
Non-backtracking Int slice parser, bit-compatible with
readByteStringInt (i.e. Data.ByteString.Char8.readInt . strip):
grammar WS* sign? digit+ WS*, whole slice consumed, Nothing on
64-bit overflow.
Synopsis
- parseIntField# :: ByteString -> Int -> Int -> (# Int#, Int# #)
Documentation
parseIntField# :: ByteString -> Int -> Int -> (# Int#, Int# #) Source #
Result is (# ok, value #) with ok 0 or 1. Caller guarantees
0 <= start <= end <= length buf.