Channels.NewWritableChannel(Stream) Method

Definition

Constructs a channel that writes bytes to the given stream.

[Android.Runtime.Register("newChannel", "(Ljava/io/OutputStream;)Ljava/nio/channels/WritableByteChannel;", "")]
public static Java.Nio.Channels.IWritableByteChannel? NewWritableChannel (System.IO.Stream? out);
[<Android.Runtime.Register("newChannel", "(Ljava/io/OutputStream;)Ljava/nio/channels/WritableByteChannel;", "")>]
static member NewWritableChannel : System.IO.Stream -> Java.Nio.Channels.IWritableByteChannel

Parameters

out
Stream

The stream to which bytes are to be written

Returns

IWritableByteChannel

A new writable byte channel

Attributes

Remarks

Java documentation for java.nio.channels.Channels.newChannel(java.io.OutputStream).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to