Java.Nio.Channels.Channels.NewReadableChannel Method
Returns a readable channel on the given input stream.

Syntax

[Android.Runtime.Register("newChannel", "(Ljava/io/InputStream;)Ljava/nio/channels/ReadableByteChannel;", "")]
public static IReadableByteChannel NewReadableChannel (System.IO.Stream inputStream)

Parameters

inputStream
the stream to be wrapped by a byte channel.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a readable channel on the given input stream. The resulting channel has the following properties:

  • If the channel is closed, then the underlying stream is closed as well.
  • It is not buffered.

[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