/// <summary> /// Write variable encoded 32-bit unsigned integer /// </summary> public void WriteVarUInt32(uint value) { if (position + IntegerHelper.MaxBytesVarInt32 > length) { Grow(IntegerHelper.MaxBytesVarInt32); } position = IntegerHelper.EncodeVarUInt32(buffer, value, position); }