case 0x2f:
int d2 = read(is); // must be 0
if (d2 != 0) {
Debug.println("illegal state: " + StringUtil.toHex2(d2));
}
smafMessage = new EndOfSequenceMessage(duration);
break;
default:
smafMessage = new UndefinedMessage(duration);
Debug.println("unknown: 0xff: " + StringUtil.toHex2(d1));
break;