protected override bool DoSetClient (CFStreamCallback callback, CFIndex eventTypes, IntPtr context) { return CFReadStreamSetClient (Handle, eventTypes, callback, context); }
extern static CFIndex CFReadStreamRead (IntPtr handle, IntPtr buffer, CFIndex count);
extern static bool CFHTTPMessageAppendBytes (IntPtr message, ref byte[] newBytes, CFIndex numBytes);
static extern bool CFReadStreamSetClient (IntPtr stream, CFIndex eventTypes, CFStreamCallback cb, IntPtr context);
protected abstract bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes, IntPtr context);
extern static CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator, CFIndex capacity, [MarshalAs(UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
extern static IntPtr CFDataCreate(IntPtr allocator, IntPtr bytes, CFIndex len);
protected override bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes, IntPtr context) { return(CFWriteStreamSetClient(Handle, eventTypes, callback, context)); }
extern static CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
extern static CFIndex CFReadStreamRead(IntPtr handle, IntPtr buffer, CFIndex count);
extern static CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator, CFIndex capacity, [MarshalAs (UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
extern static CFSetRef CFSetCreate (CFAllocatorRef allocator, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)][In] IntPtr[] values, CFIndex numValues, [MarshalAs (UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
static extern IntPtr CFDataCreate(IntPtr allocator, IntPtr bytes, CFIndex len);
extern static void CFStreamCreateBoundPair(IntPtr alloc, out IntPtr readStream, out IntPtr writeStream, CFIndex transferBufferSize);
static extern bool CFWriteStreamSetClient(IntPtr stream, CFIndex eventTypes, CFStreamCallback cb, IntPtr context);
static extern CFIndex CFWriteStreamWrite(IntPtr handle, IntPtr buffer, CFIndex count);
static extern CFIndex CFWriteStreamWrite (IntPtr handle, IntPtr buffer, CFIndex count);
static extern void CFStreamCreateBoundPair(IntPtr alloc, out IntPtr readStream, out IntPtr writeStream, CFIndex transferBufferSize);
extern static CFSetRef CFSetCreate(CFAllocatorRef allocator, [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)][In] IntPtr[] values, CFIndex numValues, [MarshalAs(UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);