data from/to ByteString
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
You can read data from ByteString.
some = do
x <- take 4
y <- take 8
return (x :: Int, y :: Integer)