ByteArrayOutputStream Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ByteArrayOutputStream() |
Creates a new |
ByteArrayOutputStream(Int32) |
Creates a new |
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
if size
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
- 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.