octane-0.13.4: Parse Rocket League replays.

Safe HaskellSafe
LanguageHaskell2010

Octane.Utility.Endian

Synopsis

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"