AtomicFile.ReadFully Method

Definition

A convenience for #openRead() that also reads all of the file contents into a byte array which is returned.

[Android.Runtime.Register("readFully", "()[B", "GetReadFullyHandler")]
public virtual byte[]? ReadFully ();
[<Android.Runtime.Register("readFully", "()[B", "GetReadFullyHandler")>]
abstract member ReadFully : unit -> byte[]
override this.ReadFully : unit -> byte[]

Returns

Byte[]
Attributes

Exceptions

Remarks

A convenience for #openRead() that also reads all of the file contents into a byte array which is returned.

Java documentation for android.util.AtomicFile.readFully().

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