Account for a VarInt encoding when computing a serialized size.

Synopsis

Declared in <serialize.h>

template<typename I>
void
WriteVarInt(
    SizeComputer& os,
    I n);

Parameters

Name

Description

os

The size computer to update.

n

The value that would be encoded as a VarInt.

Created with MrDocs