Data.Binary.ULEB128
Contents
Description
Unsigned LEB128 codec.
Any getXXX decoder can decode bytes generated using any of the putXXX encoders, provided the encoded number fits in the target type.
putNatural :: Natural -> Put Source #
putWord64 :: Word64 -> Put Source #
putWord32 :: Word32 -> Put Source #
putWord16 :: Word16 -> Put Source #
putWord8 :: Word8 -> Put Source #
putWord :: Word -> Put Source #
getNatural :: Get Natural Source #
getWord64 :: Get Word64 Source #
getWord32 :: Get Word32 Source #
getWord16 :: Get Word16 Source #
getWord8 :: Get Word8 Source #
getWord :: Get Word Source #