Language

IDataInputExtensions.ReadFullyAsync Method

Definition

Overloads

Name Description
ReadFullyAsync(IDataInput, Byte[])

Fills the byte array from the input in a task.

ReadFullyAsync(IDataInput, Byte[], Int32, Int32)

Fills a buffer range from the input in a task.

ReadFullyAsync(IDataInput, Byte[])

Fills the byte array from the input in a task.

public static System.Threading.Tasks.Task ReadFullyAsync(this Java.IO.IDataInput self, byte[]? b);
static member ReadFullyAsync : Java.IO.IDataInput * byte[] -> System.Threading.Tasks.Task

Parameters

self
IDataInput

The data input to read from.

b
Byte[]

The buffer to fill with input bytes.

Returns

A task that completes successfully only after every requested 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

ReadFullyAsync(IDataInput, Byte[], Int32, Int32)

Fills a buffer range from the input in a task.

public static System.Threading.Tasks.Task ReadFullyAsync(this Java.IO.IDataInput self, byte[]? b, int off, int len);
static member ReadFullyAsync : Java.IO.IDataInput * byte[] * int * int -> System.Threading.Tasks.Task

Parameters

self
IDataInput

The data input to read from.

b
Byte[]

The buffer that receives the bytes.

off
Int32

The index of the first buffer position to fill.

len
Int32

The number of bytes to read.

Returns

A task that completes successfully only after every requested 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