126127128129130131132
for (int i = 0; i < cardinality; i++) { indices[i] = Serialization.readVectorIndex(buffer); values[i] = Serialization.readVectorValue(buffer); } return new CompressedByteVector(length, cardinality, values, indices); }
141142143144145146147
for (int i = 0; i < cardinality; i++) { indices[i] = Serialization.readVectorIndex(ch); values[i] = Serialization.readVectorValue(ch); } return new CompressedByteVector(length, cardinality, values, indices); }