Java.IO.CharArrayWriter Members

The members of Java.IO.CharArrayWriter are listed below.

See Also: Inherited members from Java.IO.Writer

Public Constructors

Constructs a new CharArrayWriter which has a buffer allocated with the default size of 32 characters.
Constructs a new CharArrayWriter which has a buffer allocated with the size of initialSize characters.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

BufIList<char>. The buffer for characters.
Countint. The ending index of the buffer.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
Close()
Closes this writer.
override
Flush()
Flushes this writer.
Reset()
Resets this writer.
Size() : int
Returns the size of this writer, that is the number of characters it stores.
ToCharArray() : char[]
Returns the contents of the receiver as a char array.
override
Write(char[], int, int)
Writes count characters starting at offset in c to this writer.
WriteTo(Writer)
Writes the contents of this CharArrayWriter to another Writer.
WriteToAsync(Writer) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.