Language

IDataOutputExtensions.WriteBytesAsync(IDataOutput, String) Method

Definition

Writes one byte per string character in a task.

public static System.Threading.Tasks.Task WriteBytesAsync(this Java.IO.IDataOutput self, string? s);
static member WriteBytesAsync : Java.IO.IDataOutput * string -> System.Threading.Tasks.Task

Parameters

self
IDataOutput

The data output to write to.

s
String

The text to write. Only the low eight bits of each character are used.

Returns

A task that reports completion or failure of the write operation.

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