A method of encoding identity of events comprises: receiving an event bit
pattern having bits representative of events, and determining a code from
the event bit pattern, said code containing the information for
recovering identity of events when one or more events are simultaneously
present in the event bit pattern.