Java.Nio.Channels.Channels.NewReader Method
Returns a reader that decodes bytes from a channel.

Syntax

[Android.Runtime.Register("newReader", "(Ljava/nio/channels/ReadableByteChannel;Ljava/lang/String;)Ljava/io/Reader;", "")]
public static Java.IO.Reader NewReader (IReadableByteChannel channel, string charsetName)

Parameters

channel
the Channel to be read.
charsetName
the name of the charset.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Nio.Charset.UnsupportedCharsetExceptionif the given charset name is not supported.

Remarks

Returns a reader that decodes bytes from a channel. This method creates a reader with a buffer of default size.

[Android Documentation]

Requirements

Namespace: Java.Nio.Channels
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1