ByteArrayBuffer.ToByteArray Method

Definition

Creates an array containing the bytes in this buffer.

[Android.Runtime.Register("toByteArray", "()[B", "")]
public byte[]? ToByteArray();
[<Android.Runtime.Register("toByteArray", "()[B", "")>]
member this.ToByteArray : unit -> byte[]

Returns

Byte[]

A new byte array containing the buffer contents.

Attributes

Remarks

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