throw new IllegalStateException("No rows in table.");
}*/
ByteArrayOutputStream baos = new ByteArrayOutputStream();
for (Iterator iterator = rowList.iterator(); iterator.hasNext();) {
TableRow tableRow = (TableRow) iterator.next();
tableRow.write(new PdbOutputStream(baos));
}
byte[] data = baos.toByteArray();
out.writeShort(data.length);
out.writeShort(getColumnCount());
out.writeShort(rowList.size());