Share via


PipedInputStream Constructors

Definition

Overloads

PipedInputStream()

Creates a PipedInputStream so that it is not yet #connect(java.

PipedInputStream(PipedOutputStream)

Creates a PipedInputStream so that it is connected to the piped output stream src.

PipedInputStream(Int32)

Creates a PipedInputStream so that it is not yet #connect(java.

PipedInputStream(PipedOutputStream, Int32)

Creates a PipedInputStream so that it is connected to the piped output stream src and uses the specified pipe size for the pipe's buffer.

PipedInputStream(IntPtr, JniHandleOwnership)

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

PipedInputStream()

Creates a PipedInputStream so that it is not yet #connect(java.

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

Remarks

Creates a PipedInputStream so that it is not yet #connect(java.io.PipedOutputStream) connected. It must be java.io.PipedOutputStream#connect( java.io.PipedInputStream) connected to a PipedOutputStream before being used.

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

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

PipedInputStream(PipedOutputStream)

Creates a PipedInputStream so that it is connected to the piped output stream src.

[Android.Runtime.Register(".ctor", "(Ljava/io/PipedOutputStream;)V", "")]
public PipedInputStream (Java.IO.PipedOutputStream? src);
[<Android.Runtime.Register(".ctor", "(Ljava/io/PipedOutputStream;)V", "")>]
new Java.IO.PipedInputStream : Java.IO.PipedOutputStream -> Java.IO.PipedInputStream

Parameters

src
PipedOutputStream

the stream to connect to.

Attributes

Exceptions

if this stream or out are already connected.

Remarks

Creates a PipedInputStream so that it is connected to the piped output stream src. Data bytes written to src will then be available as input from this stream.

Java documentation for java.io.PipedInputStream.PipedInputStream(java.io.PipedOutputStream).

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

PipedInputStream(Int32)

Creates a PipedInputStream so that it is not yet #connect(java.

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

Parameters

pipeSize
Int32

the size of the pipe's buffer.

Attributes

Exceptions

if pipeSize is less than or equal to zero.

Remarks

Creates a PipedInputStream so that it is not yet #connect(java.io.PipedOutputStream) connected and uses the specified pipe size for the pipe's buffer. It must be java.io.PipedOutputStream#connect( java.io.PipedInputStream) connected to a PipedOutputStream before being used.

Added in 1.6.

Java documentation for java.io.PipedInputStream.PipedInputStream(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

PipedInputStream(PipedOutputStream, Int32)

Creates a PipedInputStream so that it is connected to the piped output stream src and uses the specified pipe size for the pipe's buffer.

[Android.Runtime.Register(".ctor", "(Ljava/io/PipedOutputStream;I)V", "")]
public PipedInputStream (Java.IO.PipedOutputStream? src, int pipeSize);
[<Android.Runtime.Register(".ctor", "(Ljava/io/PipedOutputStream;I)V", "")>]
new Java.IO.PipedInputStream : Java.IO.PipedOutputStream * int -> Java.IO.PipedInputStream

Parameters

src
PipedOutputStream

the stream to connect to.

pipeSize
Int32

the size of the pipe's buffer.

Attributes

Exceptions

if an I/O error occurs.

if pipeSize is less than or equal to zero.

Remarks

Creates a PipedInputStream so that it is connected to the piped output stream src and uses the specified pipe size for the pipe's buffer. Data bytes written to src will then be available as input from this stream.

Added in 1.6.

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

PipedInputStream(IntPtr, JniHandleOwnership)

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

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

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