pub fn write_frame<W: Write>( writer: &mut W, body: &[u8], ) -> Result<usize, FramingError>
Write one v1 frame body, flush the stream, and return the byte count.