ByteArrayInputStream 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
| ByteArrayInputStream(Byte[]) |
Creates a <code>ByteArrayInputStream</code> so that it uses <code>buf</code> as its buffer array. |
| ByteArrayInputStream(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| ByteArrayInputStream(Byte[], Int32, Int32) |
Creates <code>ByteArrayInputStream</code> that uses <code>buf</code> as its buffer array. |
ByteArrayInputStream(Byte[])
Creates a <code>ByteArrayInputStream</code> so that it uses <code>buf</code> as its buffer array.
[Android.Runtime.Register(".ctor", "([B)V", "")]
public ByteArrayInputStream (byte[]? buf);
[<Android.Runtime.Register(".ctor", "([B)V", "")>]
new Java.IO.ByteArrayInputStream : byte[] -> Java.IO.ByteArrayInputStream
Parameters
- buf
- Byte[]
the input buffer.
- Attributes
Remarks
Java documentation for java.io.ByteArrayInputStream.ByteArrayInputStream(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
ByteArrayInputStream(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ByteArrayInputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.ByteArrayInputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.ByteArrayInputStream
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.
Applies to
ByteArrayInputStream(Byte[], Int32, Int32)
Creates <code>ByteArrayInputStream</code> that uses <code>buf</code> as its buffer array.
[Android.Runtime.Register(".ctor", "([BII)V", "")]
public ByteArrayInputStream (byte[]? buf, int offset, int length);
[<Android.Runtime.Register(".ctor", "([BII)V", "")>]
new Java.IO.ByteArrayInputStream : byte[] * int * int -> Java.IO.ByteArrayInputStream
Parameters
- buf
- Byte[]
the input buffer.
- offset
- Int32
the offset in the buffer of the first byte to read.
- length
- Int32
the maximum number of bytes to read from the buffer.
- Attributes
Remarks
Java documentation for java.io.ByteArrayInputStream.ByteArrayInputStream(byte[], int, 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.