Java.IO.IObjectInput.Read Method
Reads bytes from this stream into the byte array buffer.

Syntax

[Android.Runtime.Register("read", "([B)I", "GetRead_arrayBHandler:Java.IO.IObjectInputInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int Read (byte[] buffer)

Parameters

buffer
the array in which to store the bytes read.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif this stream is closed or another I/O error occurs.

Remarks

Reads bytes from this stream into the byte array buffer. Blocks while waiting for input. Returns the number of bytes read, or -1 if the end of this stream has been reached.

[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