Data.Binary.SLEB128
Contents
Description
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.
putInteger :: Integer -> Put Source #
putInt64 :: Int64 -> Put Source #
putInt32 :: Int32 -> Put Source #
putInt16 :: Int16 -> Put Source #
putInt8 :: Int8 -> Put Source #
putInt :: Int -> Put Source #
getInteger :: Get Integer Source #
getInt64 :: Get Int64 Source #
getInt32 :: Get Int32 Source #
getInt16 :: Get Int16 Source #
getInt8 :: Get Int8 Source #
getInt :: Get Int Source #