Java.IO.ByteArrayOutputStream.WriteTo Method
Takes the contents of this stream and writes it to the output stream out.

Syntax

[Android.Runtime.Register("writeTo", "(Ljava/io/OutputStream;)V", "GetWriteTo_Ljava_io_OutputStream_Handler")]
public virtual void WriteTo (System.IO.Stream out)

Parameters

out
an OutputStream on which to write the contents of this stream.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to out.

Remarks

Takes the contents of this stream and writes it to the output stream out.

[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