Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
reverseBitsInLazyBytes :: ByteString -> ByteString Source #
Reverses all the bits in each lazy byte.
>>>
reverseBitsInLazyBytes "\x01"
"\128"
reverseBitsInStrictBytes :: ByteString -> ByteString Source #
Reverses all the bits in each strict byte.
>>>
reverseBitsInStrictBytes "\x01"
"\128"