AsynchronousFileChannel.Read AsynchronousFileChannel.Read Method

Definition

Overloads

Read(ByteBuffer, Int64) Read(ByteBuffer, Int64)
Read(ByteBuffer, Int64, Object, ICompletionHandler) Read(ByteBuffer, Int64, Object, ICompletionHandler)

Read(ByteBuffer, Int64) Read(ByteBuffer, Int64)

[Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;J)Ljava/util/concurrent/Future;", "GetRead_Ljava_nio_ByteBuffer_JHandler")]
public abstract Java.Util.Concurrent.IFuture Read (Java.Nio.ByteBuffer dst, long position);
abstract member Read : Java.Nio.ByteBuffer * int64 -> Java.Util.Concurrent.IFuture

Parameters

position
Int64 Int64

Returns

Remarks

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.

Read(ByteBuffer, Int64, Object, ICompletionHandler) Read(ByteBuffer, Int64, Object, ICompletionHandler)

[Android.Runtime.Register("read", "(Ljava/nio/ByteBuffer;JLjava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "GetRead_Ljava_nio_ByteBuffer_JLjava_lang_Object_Ljava_nio_channels_CompletionHandler_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "A" })]
public abstract void Read (Java.Nio.ByteBuffer dst, long position, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Read : Java.Nio.ByteBuffer * int64 * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit

Parameters

position
Int64 Int64
attachment
Object Object

Remarks

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