Java.IO.StringReader.Read Method
Reads up to count characters from the source string and stores them at offset in the character array buffer.

Syntax

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

Parameters

buffer
Documentation for this section has not yet been entered.
offset
the initial position in buffer to store the characters read from this reader.
count
Documentation for this section has not yet been entered.
buf
the character array to store the characters read.
len
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.

Remarks

Reads up to count characters from the source string and stores them at offset in the character array buffer. Returns the number of characters actually read or -1 if the end of the source string 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