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);
示例#5
0
        protected abstract bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes,
		                                     IntPtr context);
示例#6
0
 extern static CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator,
                                                  CFIndex capacity,
                                                  [MarshalAs(UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
示例#7
0
 extern static IntPtr CFDataCreate(IntPtr allocator, IntPtr bytes, CFIndex len);
示例#8
0
 protected override bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes,
                                     IntPtr context)
 {
     return(CFWriteStreamSetClient(Handle, eventTypes, callback, context));
 }
示例#9
0
文件: CFSet.cs 项目: polipo/maccore
		extern static CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
示例#10
0
 extern static CFIndex CFReadStreamRead(IntPtr handle, IntPtr buffer, CFIndex count);
示例#11
0
文件: CFSet.cs 项目: polipo/maccore
		extern static CFMutableSetRef CFSetCreateMutable(CFAllocatorRef allocator,
		                                                 CFIndex capacity,
		                                                 [MarshalAs (UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
示例#12
0
文件: CFSet.cs 项目: polipo/maccore
		extern static CFSetRef CFSetCreate (CFAllocatorRef allocator,
		                                    [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)][In] IntPtr[] values,
		                                    CFIndex numValues,
		                                    [MarshalAs (UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);
示例#13
0
 extern static CFMutableSetRef CFSetCreateMutableCopy(CFAllocatorRef allocator, CFIndex capacity, CFSetRef theSet);
示例#14
0
 static extern IntPtr CFDataCreate(IntPtr allocator, IntPtr bytes, CFIndex len);
示例#15
0
 extern static void CFStreamCreateBoundPair(IntPtr alloc, out IntPtr readStream, out IntPtr writeStream, CFIndex transferBufferSize);
示例#16
0
 static extern bool CFWriteStreamSetClient(IntPtr stream, CFIndex eventTypes,
                                           CFStreamCallback cb, IntPtr context);
示例#17
0
 protected abstract bool DoSetClient(CFStreamCallback callback, CFIndex eventTypes,
                                     IntPtr context);
示例#18
0
 static extern CFIndex CFWriteStreamWrite(IntPtr handle, IntPtr buffer, CFIndex count);
示例#19
0
		static extern CFIndex CFWriteStreamWrite (IntPtr handle, IntPtr buffer, CFIndex count);
示例#20
0
 static extern void CFStreamCreateBoundPair(IntPtr alloc, out IntPtr readStream, out IntPtr writeStream, CFIndex transferBufferSize);
示例#21
0
 extern static CFSetRef CFSetCreate(CFAllocatorRef allocator,
                                    [MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 2)][In] IntPtr[] values,
                                    CFIndex numValues,
                                    [MarshalAs(UnmanagedType.LPStruct)][In] CFSetCallBacks callBacks);