Java.IO.IObjectInput.Read Method
Reads up to byteCount bytes from this stream and stores them in byte array buffer starting at offset byteOffset.

Syntax

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

Parameters

buffer
the array in which to store the bytes read.
byteOffset
Documentation for this section has not yet been entered.
byteCount
Documentation for this section has not yet been entered.
offset
the initial position in buffer to store the bytes read from this stream.
count
the maximum number of bytes to store in buffer.

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 up to byteCount bytes from this stream and stores them in byte array buffer starting at offset byteOffset. 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