Partager via


ByteArrayOutputStream.WriteBytes(Byte[]) Method

Definition

Writes the complete contents of the specified byte array to this ByteArrayOutputStream.

[Android.Runtime.Register("writeBytes", "([B)V", "GetWriteBytes_arrayBHandler", ApiSince=33)]
public virtual void WriteBytes (byte[]? b);
[<Android.Runtime.Register("writeBytes", "([B)V", "GetWriteBytes_arrayBHandler", ApiSince=33)>]
abstract member WriteBytes : byte[] -> unit
override this.WriteBytes : byte[] -> unit

Parameters

b
Byte[]

the data.

Attributes

Remarks

Writes the complete contents of the specified byte array to this ByteArrayOutputStream.

Added in 11.

Java documentation for java.io.ByteArrayOutputStream.writeBytes(byte[]).

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