BufferedInputStream 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
BufferedInputStream(Stream) |
Creates a |
BufferedInputStream(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
BufferedInputStream(Stream, Int32) |
Creates a |
BufferedInputStream(Stream)
Creates a BufferedInputStream
and saves its argument, the input stream
in
, for later use.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")]
public BufferedInputStream (System.IO.Stream? in);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;)V", "")>]
new Java.IO.BufferedInputStream : System.IO.Stream -> Java.IO.BufferedInputStream
Parameters
- in
- Stream
the underlying input stream.
- Attributes
Remarks
Creates a BufferedInputStream
and saves its argument, the input stream in
, for later use. An internal buffer array is created and stored in buf
.
Java documentation for java.io.BufferedInputStream.BufferedInputStream(java.io.InputStream)
.
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
BufferedInputStream(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected BufferedInputStream (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.IO.BufferedInputStream : nativeint * Android.Runtime.JniHandleOwnership -> Java.IO.BufferedInputStream
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
BufferedInputStream(Stream, Int32)
Creates a BufferedInputStream
with the specified buffer size,
and saves its argument, the input stream
in
, for later use.
[Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;I)V", "")]
public BufferedInputStream (System.IO.Stream? in, int size);
[<Android.Runtime.Register(".ctor", "(Ljava/io/InputStream;I)V", "")>]
new Java.IO.BufferedInputStream : System.IO.Stream * int -> Java.IO.BufferedInputStream
Parameters
- in
- Stream
the underlying input stream.
- size
- Int32
the buffer size.
- Attributes
Exceptions
if size <= 0
.
Remarks
Creates a BufferedInputStream
with the specified buffer size, and saves its argument, the input stream in
, for later use. An internal buffer array of length size
is created and stored in buf
.
Java documentation for java.io.BufferedInputStream.BufferedInputStream(java.io.InputStream, 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.