MultiBufferMemoryStream.FastCopyTo(Stream, Nullable<DateTime>) Method

Definition

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 void FastCopyTo (System.IO.Stream destination, DateTime? expiryTime);
member this.FastCopyTo : System.IO.Stream * Nullable<DateTime> -> unit
Public Sub FastCopyTo (destination As Stream, expiryTime As Nullable(Of DateTime))

Parameters

destination
Stream

The stream to which the contents of the current stream will be copied.

expiryTime
Nullable<DateTime>

A DateTime indicating the expiry time.

Applies to