Android.OS.MemoryFile.WriteBytes Method
Write bytes to the memory file.

Syntax

[Android.Runtime.Register("writeBytes", "([BIII)V", "GetWriteBytes_arrayBIIIHandler")]
public virtual void WriteBytes (byte[] buffer, int srcOffset, int destOffset, int count)

Parameters

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

Exceptions

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

Remarks

Write bytes to 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