writeHeader method

void writeHeader()

Writes out a header, which includes the format version.

Implementation

void writeHeader() {
  writeTag(SerializationTag.kVersionHeader);
  writer.putVarint(SharedSerialization.latestVersion);
}