for (int i = 0; i < count; i++) {
int type = SMPPIO.bytesToInt(table, offset++, 1);
if (type == 1) {
// SME address..
Address a = new Address();
a.readFrom(table, offset);
offset += a.getLength();
dests.add(a);
} else if (type == 2) {
// Distribution list name
String d = SMPPIO.readCString(table, offset);