pub fn serialize_frame(frame: &Frame) -> Vec<u8> ⓘ
Serialize a frame to bytes (9-byte header + payload).