pub async fn read_raw_packet<R>( stream: &mut R, buffer: &mut Cursor<Vec<u8>>, compression_threshold: Option<u32>, cipher: &mut Option<Aes128CfbDec>, ) -> Result<Box<[u8]>, Box<ReadPacketError>>where R: AsyncRead + Unpin + Send + Sync,