Udostępnij za pośrednictwem


BufferedOutputStream Constructors

Definition

Overloads

BufferedOutputStream(Stream)

Creates a new buffered output stream to write data to the specified underlying output stream.

BufferedOutputStream(IntPtr, JniHandleOwnership)

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

BufferedOutputStream(Stream, Int32)

Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.

BufferedOutputStream(Stream)

Creates a new buffered output stream to write data to the specified underlying output stream.

[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")]
public BufferedOutputStream (System.IO.Stream? out);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;)V", "")>]
new Java.IO.BufferedOutputStream : System.IO.Stream -> Java.IO.BufferedOutputStream

Parameters

out
Stream

the underlying output stream.

Attributes

Remarks

Creates a new buffered output stream to write data to the specified underlying output stream.

Java documentation for java.io.BufferedOutputStream.BufferedOutputStream(java.io.OutputStream).

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

BufferedOutputStream(IntPtr, JniHandleOwnership)

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

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

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

BufferedOutputStream(Stream, Int32)

Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.

[Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;I)V", "")]
public BufferedOutputStream (System.IO.Stream? out, int size);
[<Android.Runtime.Register(".ctor", "(Ljava/io/OutputStream;I)V", "")>]
new Java.IO.BufferedOutputStream : System.IO.Stream * int -> Java.IO.BufferedOutputStream

Parameters

out
Stream

the underlying output stream.

size
Int32

the buffer size.

Attributes

Exceptions

if size <= 0.

Remarks

Creates a new buffered output stream to write data to the specified underlying output stream with the specified buffer size.

Java documentation for java.io.BufferedOutputStream.BufferedOutputStream(java.io.OutputStream, 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