flatparse-0.2.2.0: High-performance parsing from strict bytestrings
Safe HaskellNone
LanguageHaskell2010

FlatParse.Internal

Synopsis

Documentation

readInt :: Addr# -> Addr# -> (# (# #) | (# Int#, Addr# #) #) Source #

Read an Int from the input, as a non-empty digit sequence. The Int may overflow in the result.

readInteger :: ForeignPtrContents -> Addr# -> Addr# -> (# (# #) | (# Integer, Addr# #) #) Source #

Read an Integer from the input, as a non-empty digit sequence.