Java.IO.InputStreamReader.Read Method
Reads up to count characters from this reader and stores them at position offset in the character array buffer.

Syntax

[Android.Runtime.Register("read", "([CII)I", "GetRead_arrayCIIHandler")]
public override int Read (char[] buf, int offset, int length)

Parameters

buffer
Documentation for this section has not yet been entered.
offset
the initial position in buf to store the characters read from this reader.
count
Documentation for this section has not yet been entered.
length
the maximum number of characters to read.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif offset buffer.length.
Java.IO.IOExceptionif this reader is closed or some other I/O error occurs.

Remarks

Reads up to count characters from this reader and stores them at position offset in the character array buffer. Returns the number of characters actually read or -1 if the end of the reader has been reached. The bytes are either obtained from converting bytes in this reader's buffer or by first filling the buffer from the source InputStream and then reading from the buffer.

[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