Function parse_message_mut

Source
pub fn parse_message_mut<T>(buffer: &mut [u8]) -> Option<&mut T>
where T: Pod,
Expand description

Parse a mutable message from a buffer with proper alignment checks

This function safely parses a mutable message from a byte buffer using bytemuck. Returns None if the buffer is too small or improperly aligned.