docs: def read_cz_lsm_event_list(fd, byte_order):
      """Read LSM events from file and return as list of (time, type, text)."""
      count = struct.unpack(byte_order+'II', fd.read(8))[1]
      events = []
      while count > 0:
          esize, etime, etype = struct.unpack(byte_order+'IdI', fd.read(16))
          etext = stripnull(fd.read(esize - 16))
          events.append((etime, etype, etext))
          count -= 1
      return events