@Override
  public void save(@NotNull DataOutput out, ByteArraySequence value) throws IOException {
    out.write(value.getInternalBuffer(), value.getOffset(), value.getLength()); // todo fix double copying
  }
@Override
  public void save(@NotNull DataOutput out, ByteArraySequence value)