@Override
      public void save(final @NotNull DataOutput out, final ElemType value) throws IOException {
        DataInputOutputUtil.writeINT(out, value.ordinal());
      }
@Override
      public void save(final @NotNull DataOutput out, final ElemType value)