pub async fn read_frame_bytes<R>(reader: &mut R) -> Result<Vec<u8>, CodecError>where R: AsyncRead + Unpin,
Read one frame’s payload, refusing an oversized one before reading it.