code: func ParseEvent(data []byte) Event {
  	event := Event{Type: EventKey}
  	status := extract_event(data, &event, false)
  	if status != event_extracted {
  		return Event{Type: EventNone, N: event.N}
  	}
  	return event
  }
docs: // After getting a raw event from PollRawEvent function call, you can parse it
  // again into an ordinary one using termbox logic. That is parse an event as
  // termbox would do it. Returned event in addition to usual Event struct fields
  // sets N field to the amount of bytes used within 'data' slice. If the length
  // of 'data' slice is zero or event cannot be parsed for some other reason, the
  // function will return a special event type: EventNone.
  //
  // IMPORTANT: EventNone may contain a non-zero N, which means you should skip
  // these bytes, because termbox cannot recognize them.
  //
  // NOTE: This API is experimental and may change in future.