Java.IO.ObjectInputStream.ReadFully Method
Reads bytes from the source stream into the byte array dst.

Syntax

[Android.Runtime.Register("readFully", "([B)V", "GetReadFully_arrayBHandler")]
public virtual void ReadFully (byte[] buffer)

Parameters

dst
the array in which to store the bytes read.

Exceptions

TypeReason
Java.IO.EOFExceptionif the end of the input is reached before the read request can be satisfied.
Java.IO.IOExceptionif an error occurs while reading from the source stream.

Remarks

Reads bytes from the source stream into the byte array dst. This method will block until dst.length bytes have been read.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1