Udostępnij za pośrednictwem


FileChannel.WriteAsync Method

Definition

Overloads

WriteAsync(ByteBuffer)
WriteAsync(ByteBuffer[])
WriteAsync(ByteBuffer[], Int32, Int32)
WriteAsync(ByteBuffer, Int64)

WriteAsync(ByteBuffer)

public System.Threading.Tasks.Task<int> WriteAsync (Java.Nio.ByteBuffer? src);
member this.WriteAsync : Java.Nio.ByteBuffer -> System.Threading.Tasks.Task<int>

Parameters

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.

Applies to

WriteAsync(ByteBuffer[])

public System.Threading.Tasks.Task<long> WriteAsync (Java.Nio.ByteBuffer[]? srcs);
member this.WriteAsync : Java.Nio.ByteBuffer[] -> System.Threading.Tasks.Task<int64>

Parameters

srcs
ByteBuffer[]

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.

Applies to

WriteAsync(ByteBuffer[], Int32, Int32)

public System.Threading.Tasks.Task<long> WriteAsync (Java.Nio.ByteBuffer[]? srcs, int offset, int length);
member this.WriteAsync : Java.Nio.ByteBuffer[] * int * int -> System.Threading.Tasks.Task<int64>

Parameters

srcs
ByteBuffer[]
offset
Int32
length
Int32

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.

Applies to

WriteAsync(ByteBuffer, Int64)

public System.Threading.Tasks.Task<int> WriteAsync (Java.Nio.ByteBuffer? src, long position);
member this.WriteAsync : Java.Nio.ByteBuffer * int64 -> System.Threading.Tasks.Task<int>

Parameters

position
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.

Applies to