Skip to main content

event_data

Function event_data 

Source
pub fn event_data(out: &mut [u8]) -> usize
Expand description

Copy the current event’s payload bytes into out and return the number of bytes written. Truncates if out is smaller than the payload.