Skip to main content

frame_to_bytes

Function frame_to_bytes 

Source
pub fn frame_to_bytes(frame: &BinaryFrame) -> Result<Vec<u8>>
Expand description

Serialize a binary frame to a complete byte vector (length prefix + body). Used by per-session buffering to build the frame without holding any shared lock.