Luke Murphy 423f0878b2
All checks were successful
continuous-integration/drone/push Build is passing
Migrate to pyproject config
2020-07-07 15:59:42 +02:00
2020-07-07 15:59:42 +02:00
2020-07-07 15:59:42 +02:00
2020-06-26 17:19:34 +02:00
2020-06-26 17:19:34 +02:00
2020-07-07 15:59:42 +02:00
2020-06-26 17:19:34 +02:00
2020-07-07 15:59:42 +02:00
2020-07-07 15:59:42 +02:00

pyvarint

Build Status

Varints, a method of serializing integers using one or more bytes

Install

$ pip install pyvarint

Example

from random import sample
from pyvarint import decode, encode

ten_rand_ints = sample(range(100), 10)

for rand_int in ten_rand_ints:
    encoded = encode(rand_int)
    decoded = decode(encoded)
    assert decoded == rand_int
Description
Varints, a method of serializing integers using one or more bytes
Readme 57 KiB
Languages
Python 100%