Java.Nio.Channels.Channels.NewWritableChannel Method
Returns a writable channel on the given output stream.

Syntax

[Android.Runtime.Register("newChannel", "(Ljava/io/OutputStream;)Ljava/nio/channels/WritableByteChannel;", "")]
public static IWritableByteChannel NewWritableChannel (System.IO.Stream outputStream)

Parameters

outputStream
the stream to be wrapped by a byte channel.

Returns

Documentation for this section has not yet been entered.

Remarks

Returns a writable channel on the given output stream. The resulting channel has 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