コード例 #1
0
 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);
 }
コード例 #2
0
 protected internal override void writeVectorToOutputStream(ExtendedDataOutput @out)
 {
     @out.writeLong2Array(values.ToArray());
 }