Condividi tramite


OutputStreamWriter.Write(Char[], Int32, Int32) Method

Definition

Writes a portion of an array of characters.

[Android.Runtime.Register("write", "([CII)V", "GetWrite_arrayCIIHandler")]
public override void Write (char[]? cbuf, int off, int len);
[<Android.Runtime.Register("write", "([CII)V", "GetWrite_arrayCIIHandler")>]
override this.Write : char[] * int * int -> unit

Parameters

cbuf
Char[]

Buffer of characters

off
Int32

Offset from which to start writing characters

len
Int32

Number of characters to write

Attributes

Exceptions

if offset or count , or if offset + count is greater than the size of buf.

if this writer has already been closed or another I/O error occurs.

Remarks

Writes a portion of an array of characters.

Java documentation for java.io.OutputStreamWriter.write(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