@Override
        public C read(@NotNull DataInput in) throws IOException {
          C acc = myCollectionFactory.get();
          final DataInputStream stream = (DataInputStream)in;
          while (stream.available() > 0) {
            int size = stream.readInt();
            Consumer<? super V> appender = size >= 0? acc::add : acc::remove;
            size = Math.abs(size);
            while (size-- > 0) {
              appender.accept(valueExternalizer.read(stream));
            }
          }
          return acc;
        }
@Override
        public C read(@NotNull DataInput in)