public override void serialize(int start, int count, ExtendedDataOutput @out) { Long2[] buffer = new Long2[count]; for (int i = 0; i < count; ++i) { buffer[i] = values[i + start]; } @out.writeLong2Array(buffer); }
protected internal override void writeVectorToOutputStream(ExtendedDataOutput @out) { @out.writeLong2Array(values.ToArray()); }