Android.OS.MemoryFile.ReadBytes Method
Reads bytes from the memory file.

Syntax

[Android.Runtime.Register("readBytes", "([BIII)I", "GetReadBytes_arrayBIIIHandler")]
public virtual int ReadBytes (byte[] buffer, int srcOffset, int destOffset, int count)

Parameters

buffer
byte array to read bytes into.
srcOffset
offset into the memory file to read from.
destOffset
offset into the byte array buffer to read into.
count
number of bytes to read.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif the memory file has been purged or deactivated.

Remarks

Reads bytes from the memory file. Will throw an IOException if the file has been purged.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1