Partager via


InputStreamReader.Read(Char[], Int32, Int32) Method

Definition

To be added

[Android.Runtime.Register("read", "([CII)I", "GetRead_arrayCIIHandler")]
public override int Read (char[]? cbuf, int offset, int length);
[Android.Runtime.Register("read", "([CII)I", "GetRead_arrayCIIHandler")]
public override int Read (char[]? cbuf, int off, int len);
[<Android.Runtime.Register("read", "([CII)I", "GetRead_arrayCIIHandler")>]
override this.Read : char[] * int * int -> int

Parameters

cbuf
Char[]

Destination buffer

offsetoff
Int32

Offset at which to start storing characters

lengthlen
Int32

Maximum number of characters to read

Returns

The number of characters read, or -1 if the end of the stream has been reached

Attributes

Exceptions

if offset buffer.length.

if this reader is closed or some other I/O error occurs.

Remarks

To be added

Java documentation for java.io.InputStreamReader.read(char[], int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to