예제 #1
0
 public static extern IntPtr CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExtRep);
예제 #2
0
 public Boolean CFStringGetCString(TypedPtr <CFString> theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding)
 {
     return(CoreFoundation.CFStringGetCString((IntPtr)theString, buffer, bufferSize, encoding));
 }
예제 #3
0
 public static extern IntPtr CFStringCreateWithCString(IntPtr allocator, byte[] buffer, CFStringBuiltInEncodings encoding);
 private static partial SafeCFDataHandle CFStringCreateExternalRepresentation(
     IntPtr alloc,
     SafeCFStringHandle theString,
     CFStringBuiltInEncodings encoding,
     byte lossByte);
예제 #5
0
 public TypedPtr <CFString> CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExternalRep)
 {
     return(CoreFoundation.CFStringCreateWithBytes(allocator, buffer, bufferSize, encoding, isExternalRep));
 }
예제 #6
0
 private static partial SafeCreateHandle CFStringCreateWithBytes(
     IntPtr alloc,
     IntPtr bytes,
     CFIndex numBytes,
     CFStringBuiltInEncodings encoding,
     [MarshalAs(UnmanagedType.Bool)] bool isExternalRepresentation);
 private static partial IntPtr CFStringGetCStringPtr(
     SafeCFStringHandle cfString,
     CFStringBuiltInEncodings encoding);
 private static partial SafeCreateHandle CFStringCreateWithCString(
     IntPtr allocator,
     IntPtr str,
     CFStringBuiltInEncodings encoding);
예제 #9
0
 private static extern SafeCreateHandle CFStringCreateWithCString(
     IntPtr allocator, 
     string str, 
     CFStringBuiltInEncodings encoding);
예제 #10
0
 public static extern IntPtr CFStringCreateWithCString(IntPtr allocator, byte[] buffer, CFStringBuiltInEncodings encoding);
예제 #11
0
 private static extern Boolean CFStringGetCString(IntPtr/*CFString*/ theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding);
예제 #12
0
 public static extern IntPtr CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExtRep);
예제 #13
0
 public Boolean CFStringGetCString(TypedPtr<CFString> theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding)
 {
     return CoreFoundation.CFStringGetCString((IntPtr)theString, buffer, bufferSize, encoding);
 }
예제 #14
0
 public TypedPtr<CFString> CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExternalRep)
 {
     return CoreFoundation.CFStringCreateWithBytes(allocator, buffer, bufferSize, encoding, isExternalRep);
 }
예제 #15
0
 public extern static Boolean CFStringGetCString(IntPtr /*CFString*/ theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding);
예제 #16
0
 private static extern SafeCreateHandle CFStringCreateWithBytes(
     IntPtr alloc,
     IntPtr bytes,
     CFIndex numBytes,
     CFStringBuiltInEncodings encoding,
     bool isExternalRepresentation);
예제 #17
0
 private static extern SafeCreateHandle CFStringCreateWithCString(
     IntPtr allocator,
     string str,
     CFStringBuiltInEncodings encoding);
예제 #18
0
 private static extern CFStringRef CFStringCreateWithCString(
     IntPtr allocator,
     string str,
     CFStringBuiltInEncodings encoding);