Partager via


CharArrayWriter.WriteTo(Writer) Method

Definition

Writes the contents of the buffer to another character stream.

[Android.Runtime.Register("writeTo", "(Ljava/io/Writer;)V", "GetWriteTo_Ljava_io_Writer_Handler")]
public virtual void WriteTo (Java.IO.Writer? out);
[<Android.Runtime.Register("writeTo", "(Ljava/io/Writer;)V", "GetWriteTo_Ljava_io_Writer_Handler")>]
abstract member WriteTo : Java.IO.Writer -> unit
override this.WriteTo : Java.IO.Writer -> unit

Parameters

out
Writer

the output stream to write to

Attributes

Exceptions

if out is null.

if an error occurs attempting to write out the contents.

Remarks

Writes the contents of the buffer to another character stream.

Java documentation for java.io.CharArrayWriter.writeTo(java.io.Writer).

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