Language

RandomAccessFile.ReadLineAsync Method

Definition

Reads a byte-based text line from the file in a task.

public System.Threading.Tasks.Task<string?> ReadLineAsync();
member this.ReadLineAsync : unit -> System.Threading.Tasks.Task<string>

Returns

A task whose result is the line without its terminator, or null if the file 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