The format is described further in DataOutput#writeVInt(int).
public void WriteVLong(long i) { Debug.Assert(i >= 0L); while ((i & ~0x7FL) != 0L) { WriteByte((byte)unchecked((sbyte)((i & 0x7FL) | 0x80L))); i = (long)((ulong)i >> 7); } WriteByte((byte)(sbyte)i); }
public override bool Store(DataOutput output) { lock (this) { output.WriteVLong(count); if (this.normalCompletion == null || normalCompletion.FST == null) { return false; } normalCompletion.FST.Save(output); return true; } }