IScatteringByteChannel IScatteringByteChannel Interface


The interface for channels that can read data into a set of buffers in a single operation.

[Android.Runtime.Register("java/nio/channels/ScatteringByteChannel", "", "Java.Nio.Channels.IScatteringByteChannelInvoker", ApiSince=1)]
public interface IScatteringByteChannel : IDisposable, Java.Nio.Channels.IReadableByteChannel
type IScatteringByteChannel = interface
    interface IReadableByteChannel
    interface IChannel
    interface ICloseable
    interface IJavaObject
    interface IDisposable


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.


Close() Close()

Closes an open channel.

(Inherited from IChannel)
Read(ByteBuffer) Read(ByteBuffer)

Reads bytes from the channel into the given buffer.

(Inherited from IReadableByteChannel)
Read(ByteBuffer[]) Read(ByteBuffer[])

Reads bytes from this channel into the specified array of buffers.

Read(ByteBuffer[], Int32, Int32) Read(ByteBuffer[], Int32, Int32)

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


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)
ReadAsync(IReadableByteChannel, ByteBuffer) ReadAsync(IReadableByteChannel, ByteBuffer)
ReadAsync(IScatteringByteChannel, ByteBuffer[]) ReadAsync(IScatteringByteChannel, ByteBuffer[])
ReadAsync(IScatteringByteChannel, ByteBuffer[], Int32, Int32) ReadAsync(IScatteringByteChannel, ByteBuffer[], Int32, Int32)

Applies to