Data.IterIO.Search
Documentation
inumStopString :: Monad m => ByteString -> Inum ByteString ByteString m aSource
Feeds input to an Iteratee until some boundary string is found.
The boundary string is neither consumed nor passed through to the
target Iter. (Thus, if the input is at end-of-file after
inumStopString returns, it means the boundary string was never
encountered.)