binary-strict 0.4.4 → 0.4.5
raw patch · 2 files changed
+3/−3 lines, 2 files
Files
binary-strict.cabal view
@@ -1,5 +1,5 @@ name: binary-strict-version: 0.4.4+version: 0.4.5 license: BSD3 license-file: LICENSE author: Lennart Kolmodin <kolmodin@dtek.chalmers.se>
src/Data/Binary/Strict/BitGet.hs view
@@ -71,8 +71,8 @@ #endif #ifndef __HADDOCK__-data S = S {-# UNPACK #-} !B.ByteString -- ^ input- {-# UNPACK #-} !Word8 -- ^ bit offset in current byte+data S = S {-# UNPACK #-} !B.ByteString -- input+ {-# UNPACK #-} !Word8 -- bit offset in current byte #endif newtype BitGet a = BitGet { unGet :: S -> (Either String a, S) }