duration 1or2 event type 0x22 event size 1or2 event data event size ...
9899100101102103104105106107108
} break; case 0x22: { // control event int size = readOneToTwo(is); byte[] data = new byte[size]; read(is, data); smafMessage = new UserMessage(duration, data); } break; case 0x40: { // display object event int size = readOneToTwo(is); byte[] data = new byte[size]; read(is, data);