View Source Riot.Util.Varint.VLQ (Riot LoR v1.0.0)

More on VLQs

Link to this section Summary

Link to this section Functions

Link to this function

decode_all(subject, sign \\ :unsigned)

View Source (since 1.0.0)
@spec decode_all(bitstring(), :unsigned | :signed) ::
  {[integer()], bitstring(), integer()}
Link to this function

decode_next(subject, sign \\ :unsigned)

View Source (since 1.0.0)
@spec decode_next(bitstring(), :unsigned | :signed) ::
  {integer(), bitstring(), integer()}
Link to this function

encode(int, sign \\ :unsigned)

View Source (since 1.0.0)
@spec encode(integer(), :unsigned | :signed) :: bitstring()