public void AddStringToTable(byte[] str) {
// Add this new string to the table
stringTable[tableIndex++] = str;
if (tableIndex == 511) {
bitsToGet = 10;
} else if (tableIndex == 1023) {
bitsToGet = 11;
} else if (tableIndex == 2047) {
bitsToGet = 12;
}
}