JBFDZQ46EJFVOM3LLBH6SF2BTH4MQY4OTNAP4CVN4PMITYXO6Z5QC
async fn start_reading<R: AsyncRead + Unpin>(mut stream_read: R, mut buffer: SSHBuffer, cipher: Arc<crate::cipher::CipherPair>) -> Result<(usize, R, SSHBuffer), anyhow::Error> {
async fn start_reading<R: AsyncRead + Unpin>(
mut stream_read: R,
mut buffer: SSHBuffer,
cipher: Arc<crate::cipher::CipherPair>,
) -> Result<(usize, R, SSHBuffer), anyhow::Error> {
async fn start_reading<R: AsyncRead + Unpin>(mut stream_read: R, mut buffer: SSHBuffer, cipher: Arc<crate::cipher::CipherPair>) -> Result<(usize, R, SSHBuffer), anyhow::Error> {
async fn start_reading<R: AsyncRead + Unpin>(
mut stream_read: R,
mut buffer: SSHBuffer,
cipher: Arc<crate::cipher::CipherPair>,
) -> Result<(usize, R, SSHBuffer), anyhow::Error> {
debug!("writing to stream: {:?} bytes", self.common.write_buffer.buffer.len());
stream_write.write_all(&self.common.write_buffer.buffer).await?;
debug!(
"writing to stream: {:?} bytes",
self.common.write_buffer.buffer.len()
);
stream_write
.write_all(&self.common.write_buffer.buffer)
.await?;