語言

Os.Pwrite 方法

定義

多載

Pwrite(FileDescriptor, ByteBuffer, Int64)

[Android.Runtime.Register("pwrite", "(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;J)I", "")]
public static int Pwrite(Java.IO.FileDescriptor? fd, Java.Nio.ByteBuffer? buffer, long offset);
[<Android.Runtime.Register("pwrite", "(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;J)I", "")>]
static member Pwrite : Java.IO.FileDescriptor * Java.Nio.ByteBuffer * int64 -> int

參數

buffer
ByteBuffer
offset
Int64

傳回

屬性

例外狀況

備註

參見 pwrite(2)。

Java 文件 android.system.Os.pwrite(java.io.FileDescriptor, java.nio.ByteBuffer, long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

Pwrite(FileDescriptor, Byte[], Int32, Int32, Int64)

[Android.Runtime.Register("pwrite", "(Ljava/io/FileDescriptor;[BIIJ)I", "")]
public static int Pwrite(Java.IO.FileDescriptor? fd, byte[]? bytes, int byteOffset, int byteCount, long offset);
[<Android.Runtime.Register("pwrite", "(Ljava/io/FileDescriptor;[BIIJ)I", "")>]
static member Pwrite : Java.IO.FileDescriptor * byte[] * int * int * int64 -> int

參數

bytes
Byte[]
byteOffset
Int32
byteCount
Int32
offset
Int64

傳回

屬性

例外狀況

備註

參見 pwrite(2)。

Java 文件 android.system.Os.pwrite(java.io.FileDescriptor, byte[], int, int, long)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於