Düzenle

Aracılığıyla paylaş


CFStream.CreateBoundPair(CFReadStream, CFWriteStream, nint) Method

Definition

Creates two streams that act as a pipe. They are bound together, what is written on the writing stream can be read by the reading stream.

public static void CreateBoundPair (out CoreFoundation.CFReadStream readStream, out CoreFoundation.CFWriteStream writeStream, nint bufferSize);
static member CreateBoundPair :  *  * nint -> unit

Parameters

readStream
CFReadStream

On return, contains a stream that can be used to read data from the other endpoint.

writeStream
CFWriteStream

On return, contains a stream that can be used to write data that is later read by the readStream.

bufferSize
System.System.IntPtr System.nativeint

Size of the buffer used to communicate the writing stream to the reading stream.

Applies to