/// Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed.
/// </summary>
publicoverridevoidClose()
{
baseStream.Close();
}
/// <summary>
/// <summary>
/// Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.
/// Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token.