Share via


Os.Write Method

Definition

Overloads

Write(FileDescriptor, ByteBuffer)

See write(2).

Write(FileDescriptor, Byte[], Int32, Int32)

See write(2).

Write(FileDescriptor, ByteBuffer)

See write(2).

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

Parameters

buffer
ByteBuffer

Returns

Attributes

Exceptions

Remarks

See write(2).

Java documentation for android.system.Os.write(java.io.FileDescriptor, java.nio.ByteBuffer).

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

Write(FileDescriptor, Byte[], Int32, Int32)

See write(2).

[Android.Runtime.Register("write", "(Ljava/io/FileDescriptor;[BII)I", "")]
public static int Write (Java.IO.FileDescriptor? fd, byte[]? bytes, int byteOffset, int byteCount);
[<Android.Runtime.Register("write", "(Ljava/io/FileDescriptor;[BII)I", "")>]
static member Write : Java.IO.FileDescriptor * byte[] * int * int -> int

Parameters

bytes
Byte[]
byteOffset
Int32
byteCount
Int32

Returns

Attributes

Exceptions

Remarks

See write(2).

Java documentation for android.system.Os.write(java.io.FileDescriptor, byte[], int, int).

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