Foundation.NSStream.GetBoundStreams Method
Creates an input and output streams that are linked to each other.

Syntax

[Foundation.Export("getBoundStreamsWithBufferSize:inputStream:outputStream:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.Mac_10_10)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
public static void GetBoundStreams (out NSInputStream inputStream, out NSOutputStream outputStream, nuint bufferSize)

Parameters

bufferSize
Buffer size for the bound streams
inputStream
Returns the input stream, which is used to read data written on the outputStream.
outputStream
Returns the output stream, which is used to write data that will later be read on the inputStream.

Remarks

This creates a pair of streams that are linked to each other with the specified bufferSize.

Data written to the outputStream will be made available on the inputStream

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0