haskus-system-0.6.0.0: Haskus system programming framework

Safe HaskellNone
LanguageHaskell2010

Haskus.Format.Binary.VariableLength

Description

Variable length encodings

Synopsis

Documentation

getULEB128 :: (Integral a, Bits a) => Get a Source #

Get an unsigned word in Little Endian Base 128

putULEB128 :: (Integral a, Bits a) => a -> Put Source #

Put an unsigned word in Little Endian Base 128

getSLEB128 :: (Integral a, Bits a) => Get a Source #

Get a signed int in Little Endian Base 128

putSLEB128 :: (Integral a, Bits a) => a -> Put Source #

Put a signed int in Little Endian Base 128

getLEB128Buffer :: BitOrder -> Get Buffer Source #

Get a bytestring containing a decoded LEB128 string