code: private FieldTypeInfo genericReadTypeInfo(RecordInput rin, String tag) throws IOException {
      String fieldName = rin.readString(tag);
      TypeID id = genericReadTypeID(rin, tag);
      return new FieldTypeInfo(fieldName, id);
    }
docs: generic reader: reads the next TypeInfo object from stream and returns it