NSStream.CreateBoundPair(NSInputStream, NSOutputStream, IntPtr) Method

Definition

Creates a pair of bound NSInputStream and NSOutputStream with the specified buffer size.

public static void CreateBoundPair(out Foundation.NSInputStream readStream, out Foundation.NSOutputStream writeStream, IntPtr bufferSize);
public static void CreateBoundPair(out Foundation.NSInputStream? readStream, out Foundation.NSOutputStream? writeStream, IntPtr bufferSize);
static member CreateBoundPair : NSInputStream * NSOutputStream * nativeint -> unit

Parameters

readStream
NSInputStream

When this method returns, contains the created NSInputStream.

writeStream
NSOutputStream

When this method returns, contains the created NSOutputStream.

bufferSize
IntPtr

nativeint

The size of the buffer to use for the streams.

Applies to