Java.IO.ByteArrayOutputStream.ToString Method
Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared in charsetName.

Syntax

[Android.Runtime.Register("toString", "(Ljava/lang/String;)Ljava/lang/String;", "GetToString_Ljava_lang_String_Handler")]
public virtual string ToString (string enc)

Parameters

charsetName
a string representing the encoding to use when translating this stream to a string.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.UnsupportedEncodingExceptionif the provided encoding is not supported.

Remarks

Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared in charsetName.

[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