IGatheringByteChannel IGatheringByteChannel Interface

Definition

The interface for channels that can write a set of buffers in a single operation.

[Android.Runtime.Register("java/nio/channels/GatheringByteChannel", "", "Java.Nio.Channels.IGatheringByteChannelInvoker", ApiSince=1)]
public interface IGatheringByteChannel : IDisposable, Java.Nio.Channels.IWritableByteChannel
type IGatheringByteChannel = interface
    interface IWritableByteChannel
    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.

(Inherited from IWritableByteChannel)
Write(ByteBuffer[]) Write(ByteBuffer[])

Writes bytes from all the given buffers to a channel.

Write(ByteBuffer[], Int32, Int32) Write(ByteBuffer[], Int32, Int32)

Attempts to write all remaining() bytes from length byte buffers, in order, starting at buffers[offset].

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(IGatheringByteChannel, ByteBuffer[]) WriteAsync(IGatheringByteChannel, ByteBuffer[])
WriteAsync(IGatheringByteChannel, ByteBuffer[], Int32, Int32) WriteAsync(IGatheringByteChannel, ByteBuffer[], Int32, Int32)
WriteAsync(IWritableByteChannel, ByteBuffer) WriteAsync(IWritableByteChannel, ByteBuffer)

Applies to