Function decodeVarint

Decode Varing to fixed-size integer

ulong decodeVarint (
  Varint vint
);

Example

Varint v = encodeVarint(2345);
assert(decodeVarint(v) == 2345);