CFStream.CreateBoundPair(CFReadStream, CFWriteStream, nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.