@@ -23,6 +23,9 @@ module Data.Binary.Bits.Put
24 -- ** Words
24 -- ** Words
25 , putWord8
25 , putWord8
26 , putWord16be
29 , putWord16be
27 , putWord32be
30 , putWord32be
28 , putWord64be
31 , putWord64be
@@ -111,16 +114,28 @@ putWord8 :: Int -> Word8 -> BitPut ()
111putWord8 = putWord
114putWord8 = putWord
113-- | Put the @n@ lower bits of a 'Word16'.
116-- | Put the @n@ lower bits of a 'Word16'.
117+putWord16 :: Int -> Word16 -> BitPut ()
114putWord16be :: Int -> Word16 -> BitPut ()
120putWord16be :: Int -> Word16 -> BitPut ()
115putWord16be = putWord
121putWord16be = putWord
122+{-# DEPRECATED putWord16be "Use 'putWord16' instead" #-}
117-- | Put the @n@ lower bits of a 'Word32'.
124-- | Put the @n@ lower bits of a 'Word32'.
125+putWord32 :: Int -> Word32 -> BitPut ()
118putWord32be :: Int -> Word32 -> BitPut ()
128putWord32be :: Int -> Word32 -> BitPut ()
119putWord32be = putWord
129putWord32be = putWord
130+{-# DEPRECATED putWord32be "Use 'putWord32' instead" #-}
121-- | Put the @n@ lower bits of a 'Word64'.
132-- | Put the @n@ lower bits of a 'Word64'.
133+putWord64 :: Int -> Word64 -> BitPut ()
122putWord64be :: Int -> Word64 -> BitPut ()
136putWord64be :: Int -> Word64 -> BitPut ()
123putWord64be = putWord
137putWord64be = putWord
138+{-# DEPRECATED putWord64be "Use 'putWord64' instead" #-}
125-- | Put a 'ByteString'.
140-- | Put a 'ByteString'.