pub fn grow_read_buf(buf: &mut Vec<u8>, filled: usize) -> Result<(), FrameError>Expand description
Grow a stream read buffer when a truncated frame cannot fit.
Caps at MAX_DATA_PAYLOAD + FRAME_HEADER_LEN. Returns Err if already at cap
(the peer is sending something larger than the protocol allows).