vlq-bij

Crates.iovlq-bij
lib.rsvlq-bij
version0.2.0
sourcesrc
created_at2022-10-31 05:31:22.045645
updated_at2023-11-12 04:32:40.335667
descriptionBijective Variable-Length Quantity encodings
homepage
repositoryhttps://gitlab.com/adapt/vlq-bij-rust
max_upload_size
id701904
size9,354
Tristan (imuli)

documentation

README

vlq-bij

Encoding and decoding bijective variable-length quantities.

Implementation Criteria

This repository covers the following dimensions along which variable-length quantities encodings can be divised:

  • redundant encodings: no
  • the minimal unit of data: 8-bit bytes
  • order of data: big-endian, little-endian
  • encoding base: powers of two ≤128
  • bit indicating continuation: 7 (high) .. 0 (low)
  • bit value indicating continuation: set, clear

Implementation Status

  • be128: big-endian, base 128, high bit set (used by git, etc)
Commit count: 2

cargo fmt