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.
pub fn frame_to_bytes(frame: &BinaryFrame) -> Result<Vec<u8>>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.