Language

ByteArrayOutputStream.WriteToAsync(Stream) Method

Definition

Writes the buffered bytes to the destination stream in a task.

public System.Threading.Tasks.Task WriteToAsync(System.IO.Stream out);
member this.WriteToAsync : System.IO.Stream -> System.Threading.Tasks.Task

Parameters

out
Stream

The output stream that receives the buffered bytes.

Returns

A task that reports completion or failure of writing the buffered bytes.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to