IWritableByteChannel IWritableByteChannel Interface

Definition

A WritableByteChannel is a type of IChannel that can write bytes.

[Android.Runtime.Register("java/nio/channels/WritableByteChannel", "", "Java.Nio.Channels.IWritableByteChannelInvoker", ApiSince=1)]
public interface IWritableByteChannel : IDisposable, Java.Nio.Channels.IChannel
type IWritableByteChannel = interface
    interface IChannel
    interface ICloseable
    interface IJavaObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Methods

Close() Close()

Closes an open channel.

(Inherited from IChannel)
Write(ByteBuffer) Write(ByteBuffer)

Writes bytes from the given buffer to the channel.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)
IsOpen IsOpen

Returns true if this channel is open.

(Inherited from IChannel)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)
WriteAsync(IWritableByteChannel, ByteBuffer) WriteAsync(IWritableByteChannel, ByteBuffer)

Applies to