varints
Variable-length integer (VLQ) encoding and decoding in C99
Variable-length integer (VLQ) encoding and decoding

Introduction

See API documentation for varints.h .

This module implements functions for encoding/decoding signed and unsigned integers, of up to 64 bits in width, to/from VLQ byte streams (also known as "varints").