pub fn event_data(out: &mut [u8]) -> usize
Copy the current event’s payload bytes into out and return the number of bytes written. Truncates if out is smaller than the payload.
out