public static short readOrdinal(DataInput in) throws IOException {
    final byte ordinal = in.readByte();
    if (ordinal != KnownVersion.TOKEN_ORDINAL) {
      return ordinal;
    } else {
      return in.readShort();
    }
  }
Reads ordinal as written by {@link VersioningIO#writeOrdinal(DataOutput,short,boolean)} from
given {@link DataInput}.
geode-serialization/src/main/java/org/apache/geode/internal/serialization/VersioningIO.java