Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Signed LEB128 codec.
Any getXXX decoder can decode bytes generated using any of the putXXX encoders, provided the encoded number fits in the target type.
Synopsis
- putInteger :: Integer -> Put
- putInt64 :: Int64 -> Put
- putInt32 :: Int32 -> Put
- putInt16 :: Int16 -> Put
- putInt8 :: Int8 -> Put
- putInt :: Int -> Put
- putNatural :: Natural -> Put
- putWord64 :: Word64 -> Put
- putWord32 :: Word32 -> Put
- putWord16 :: Word16 -> Put
- putWord8 :: Word8 -> Put
- putWord :: Word -> Put
- getInteger :: Word -> Get Integer
- getInt64 :: Get Int64
- getInt32 :: Get Int32
- getInt16 :: Get Int16
- getInt8 :: Get Int8
- getInt :: Get Int
- getNatural :: Word -> Get Natural
- getWord64 :: Get Word64
- getWord32 :: Get Word32
- getWord16 :: Get Word16
- getWord8 :: Get Word8
- getWord :: Get Word