MultiBufferMemoryStream.FastCopyToAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the bytes from the current stream and writes them to another stream. This method writes directly to the destination stream, rather than copying the data into a temporary buffer.
public System.Threading.Tasks.Task FastCopyToAsync(System.IO.Stream destination, DateTime? expiryTime, System.Threading.CancellationToken token);
member this.FastCopyToAsync : System.IO.Stream * Nullable<DateTime> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function FastCopyToAsync (destination As Stream, expiryTime As Nullable(Of DateTime), token As CancellationToken) As Task
Parameters
- destination
- Stream
The stream to which the contents of the current stream will be copied.
- token
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET