i3_ipc
pub fn decode_event<P>(evt_type: u32, payload: P) -> Result<Event, Error> where P: AsRef<[u8]>,