Share via


Os.Read Method

Definition

Overloads

Read(FileDescriptor, ByteBuffer)

See read(2).

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

See read(2).

Read(FileDescriptor, ByteBuffer)

See read(2).

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

Parameters

buffer
ByteBuffer

Returns

Attributes

Exceptions

Remarks

See read(2).

Java documentation for android.system.Os.read(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

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

See read(2).

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

Parameters

bytes
Byte[]
byteOffset
Int32
byteCount
Int32

Returns

Attributes

Exceptions

Remarks

See read(2).

Java documentation for android.system.Os.read(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