# Functions
AppendSleb128 appends v to b using signed LEB128 encoding.
AppendUleb128 appends v to b using unsigned LEB128 encoding.
ReadVarint32 reads a LEB128 encoded signed 32-bit integer from r, and returns the integer value, and the error (if any).
ReadVarint64 reads a LEB128 encoded signed 64-bit integer from r, and returns the integer value, and the error (if any).
ReadVarUint32 reads a LEB128 encoded unsigned 32-bit integer from r, and returns the integer value, and the error (if any).
WriteVarint64 writes a LEB128 encoded signed 64-bit integer to w, and returns the integer value, the size of the encoded value, and the error (if any).
WriteVarUint32 writes a LEB128 encoded unsigned 32-bit integer to w.