ByteArrayOutputStream Constructors

Definition

Overloads

ByteArrayOutputStream()

Creates a new ByteArrayOutputStream.

ByteArrayOutputStream(Int32)

Creates a new ByteArrayOutputStream, with a buffer capacity of the specified size, in bytes.

ByteArrayOutputStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

ByteArrayOutputStream()

Creates a new ByteArrayOutputStream.

[Android.Runtime.Register(".ctor", "()V", "")]
public ByteArrayOutputStream ();
Attributes

Remarks

Creates a new ByteArrayOutputStream. The buffer capacity is initially 32 bytes, though its size increases if necessary.

Java documentation for java.io.ByteArrayOutputStream.ByteArrayOutputStream().

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

ByteArrayOutputStream(Int32)

Creates a new ByteArrayOutputStream, with a buffer capacity of the specified size, in bytes.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public ByteArrayOutputStream (int size);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.IO.ByteArrayOutputStream : int -> Java.IO.ByteArrayOutputStream

Parameters

size
Int32

the initial size.

Attributes

Exceptions

Remarks

Creates a new ByteArrayOutputStream, with a buffer capacity of the specified size, in bytes.

Java documentation for java.io.ByteArrayOutputStream.ByteArrayOutputStream(int).

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

ByteArrayOutputStream(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected ByteArrayOutputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.ByteArrayOutputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.ByteArrayOutputStream

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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