Java.IO.OutputStream.Write Method
Writes count bytes from the byte array buffer starting at position offset to this stream.

Syntax

[Android.Runtime.Register("write", "([BII)V", "GetWrite_arrayBIIHandler")]
public virtual void Write (byte[] buffer, int offset, int count)

Parameters

buffer
the buffer to be written.
offset
the start position in buffer from where to get bytes.
count
the number of bytes from buffer to write to this stream.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while writing to this stream.
Java.Lang.IndexOutOfBoundsExceptionif offset or count , or if offset + count is bigger than the length of buffer.

Remarks

Writes count bytes from the byte array buffer starting at position offset to this stream.

[Android Documentation]

Requirements

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