int count = cf.getColumnCount();
dos.writeInt(count);
int written = 0;
for (IColumn column : cf)
{
columnSerializer.serialize(column, dos);
written++;
}
assert count == written: "Column family had " + count + " columns, but " + written + " written";
}
catch (IOException e)