pub fn write_frame_bytes(w: &mut impl Write, bytes: &[u8]) -> Result<()>Expand description
Writes bytes (a message’s binary form) as one frame, and flushes.
§Errors
The writer’s I/O error; io::ErrorKind::InvalidInput for a frame over MAX_FRAME.