Expand description
Monero’s VarInt type, frequently used to encode integers expected to be of low norm.
This corresponds to https://github.com/monero-project/monero/blob/8e9ab9677f90492bca3c7555a246f2a8677bd570 /src/common/varint.h.
Modules§
- sealed 🔒
Constants§
Traits§
- VarInt
- A trait for a number readable/writable as a VarInt.
Functions§
- upper_
bound 🔒 - Compute the upper bound for the encoded length of a integer type as a VarInt.