pub fn decode_events(buf: &[u8]) -> Result<Vec<InotifyEvent>, CoreError>Expand description
Decode packed inotify events from a raw byte buffer.
This handles multi-event buffers and handles unaligned reads safely. Malformed or truncated events result in an error.