@@ -50,7 +50,7 @@ data S = S !Builder !Word8 !Int
51-- | Put a 1 bit 'Bool'.
51-- | Put a 1 bit 'Bool'.
52putBool :: Bool -> BitPut ()
52putBool :: Bool -> BitPut ()
53−putBool b = putWord8 1 (if b then 1 else 0)
53+putBool b = putWord8 1 (if b then 0xff else 0x00)
55-- | Put the @n@ lower bits of a 'Word8'.
55-- | Put the @n@ lower bits of a 'Word8'.
56putWord8 :: Int -> Word8 -> BitPut ()
56putWord8 :: Int -> Word8 -> BitPut ()