A variable length integer implementation for the wspr project.
Project description
wspr-varint
A variable length integer implementation for the wspr project.
API
VarInt
from_int
from_bytes
to_int
to_bytes
Example
from wspr-varint import varint
variable_integer = varint.VarInt.from_int(-1)
variable_integer.to_int()
variable_integer.to_bytes()
History
1.0.0 (2019-07-08)
Add API reference.
Add example.
0.2.0 (2019-07-07)
Update documentation references.
0.1.0 (2019-07-07)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wspr_varint-1.0.0.tar.gz
(6.2 kB
view hashes)