Language

IDataInputExtensions.ReadLineAsync(IDataInput) Method

Definition

Reads a byte-based text line in a task.

public static System.Threading.Tasks.Task<string?> ReadLineAsync(this Java.IO.IDataInput self);
static member ReadLineAsync : Java.IO.IDataInput -> System.Threading.Tasks.Task<string>

Parameters

self
IDataInput

The data input to read from.

Returns

A task whose result is the line without its terminator, or null if input ends before a byte is read.

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