diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,5 @@
+# pathological-bytestrings
+
+## 0.1.0.0
+
+Initial release
diff --git a/LICENSE b/LICENSE
new file mode 100644
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,11 @@
+Copyright Vanessa McHale (c) 2020
+
+Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/README.md b/README.md
new file mode 100644
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# pathological-bytestrings
+
+Library to aid testing `ByteString`s and C I/O
diff --git a/pathological-bytestrings.cabal b/pathological-bytestrings.cabal
new file mode 100644
--- /dev/null
+++ b/pathological-bytestrings.cabal
@@ -0,0 +1,39 @@
+cabal-version:   1.18
+name:            pathological-bytestrings
+version:         0.1.0.0
+license:         BSD3
+license-file:    LICENSE
+copyright:       Copyright: (c) 2020 Vanessa McHale
+maintainer:      vamchale@gmail.com
+author:          Vanessa McHale
+synopsis:        Pathological ByteStrings for testing
+description:
+    Read and write ByteStrings to file in various pathological ways
+
+category:        ByteString, IO, Testing
+build-type:      Simple
+extra-doc-files:
+    README.md
+    CHANGELOG.md
+
+source-repository head
+    type:     git
+    location: https://github.com/vmchale/pathological-bytestrings
+
+library
+    exposed-modules:  Data.ByteString.Pathological
+    hs-source-dirs:   src
+    default-language: Haskell2010
+    ghc-options:      -Wall
+    build-depends:
+        base >=4.3 && <5,
+        bytestring -any,
+        random -any
+
+    if impl(ghc >=8.0)
+        ghc-options:
+            -Wincomplete-uni-patterns -Wincomplete-record-updates
+            -Wredundant-constraints -Widentities
+
+    if impl(ghc >=8.4)
+        ghc-options: -Wmissing-export-lists
diff --git a/src/Data/ByteString/Pathological.hs b/src/Data/ByteString/Pathological.hs
new file mode 100644
--- /dev/null
+++ b/src/Data/ByteString/Pathological.hs
@@ -0,0 +1,48 @@
+module Data.ByteString.Pathological ( nonstandardRead
+                                    , chunksOf
+                                    , readLarge
+                                    , readSmall
+                                    , readRandom
+                                    ) where
+
+import           Control.Applicative
+import           Control.Monad        ((<=<))
+import qualified Data.ByteString      as BS
+import qualified Data.ByteString.Lazy as BSL
+import           System.Random        (randomRIO)
+
+-- | Read a file into a 'BSL.ByteString' using varying chunk size.
+nonstandardRead :: FilePath -> IO BSL.ByteString
+nonstandardRead fp = do
+    bStrict <- BS.readFile fp
+    let (h, t) = BS.splitAt (64 * 1024) bStrict
+    pure $ BSL.fromChunks [h, t]
+
+-- | Read into a 'BSL.ByteString' of varying chunk sizes (non-lazily).
+readRandom :: FilePath -> IO BSL.ByteString
+readRandom = fmap BSL.fromChunks . (randomSplit <=< BS.readFile)
+
+randomSplit :: BS.ByteString -> IO [BS.ByteString]
+randomSplit b = do
+    nextSz <- randomRIO (16 * 1024, 128 * 1024)
+    if BS.length b <= nextSz
+        then pure [b]
+        else
+            let (b', b'') = BS.splitAt nextSz b
+            in (b' :) <$> randomSplit b''
+
+-- | Read into @16k@ chunks (non-lazily)
+readSmall :: FilePath -> IO BSL.ByteString
+readSmall = fmap (BSL.fromChunks . chunksOf (16 * 1024)) . BS.readFile
+
+-- | Read into @128k@ chunks (non-lazily)
+readLarge :: FilePath -> IO BSL.ByteString
+readLarge = fmap (BSL.fromChunks . chunksOf (128 * 1024)) . BS.readFile
+
+chunksOf :: Int -> BS.ByteString -> [BS.ByteString]
+chunksOf bSz b =
+    if BS.length b <= bSz
+        then [b]
+        else
+            let (b', b'') = BS.splitAt bSz b
+            in b' : chunksOf bSz b''
