Indexables.checkFromToBounds(fromColumn, toColumn, columns());
ensureFactoryIsNotNull(factory);
ByteVector result = factory.createVector(toColumn - fromColumn);
ByteVectorIterator it = nonZeroRowIterator(i, fromColumn, toColumn);
while (it.hasNext()) {
it.next();
result.set(it.index() - fromColumn, it.get());
}
return result;
}