Java.IO.OutputStreamWriter.Write Method
Writes count characters starting at offset in buf to this writer.

Syntax

[Android.Runtime.Register("write", "([CII)V", "GetWrite_arrayCIIHandler")]
public override void Write (char[] buf, int offset, int count)

Parameters

buffer
the array containing characters to write.
offset
the index of the first character in buf to write.
count
the maximum number of characters to write.

Exceptions

TypeReason
Java.Lang.IndexOutOfBoundsExceptionif offset or count , or if offset + count is greater than the size of buf.
Java.IO.IOExceptionif this writer has already been closed or another I/O error occurs.

Remarks

Writes count characters starting at offset in buf to this writer. The characters are immediately converted to bytes by the character converter and stored in a local buffer. If the buffer gets full as a result of the conversion, this writer is flushed.

[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