pathological-bytestrings-0.1.0.0: Pathological ByteStrings for testing

Safe HaskellSafe
LanguageHaskell2010

Data.ByteString.Pathological

Synopsis

Documentation

nonstandardRead :: FilePath -> IO ByteString Source #

Read a file into a ByteString using varying chunk size.

readLarge :: FilePath -> IO ByteString Source #

Read into 128k chunks (non-lazily)

readSmall :: FilePath -> IO ByteString Source #

Read into 16k chunks (non-lazily)

readRandom :: FilePath -> IO ByteString Source #

Read into a ByteString of varying chunk sizes (non-lazily).