System.IO.Streams.ByteString

Counting bytes

countInput

countOutput

Treating strings as streams

fromByteString

fromLazyByteString

Input and output

readExactly

takeBytesWhile

writeLazyByteString

Stream transformers

Splitting/Joining

splitOn

lines

unlines

words

unwords

Other

giveBytes

giveExactly

takeBytes

takeExactly

throwIfConsumesMoreThan

throwIfProducesMoreThan

Rate limiting

throwIfTooSlow

String search

data MatchInfo

search

Exception types

data RateTooSlowException

data ReadTooShortException

data TooManyBytesReadException

data TooManyBytesWrittenException

data TooFewBytesWrittenException