pub fn read_raw_packet_from_buffer<R>( buffer: &mut BytesMut, compression_threshold: Option<u32>, ) -> Result<Option<Vec<u8>>, Box<ReadPacketError>>where R: AsyncRead + Unpin + Send + Sync,