コード例 #1
0
 public static extern IntPtr CFStringCreateWithBytes(IntPtr alloc, byte[] bytes, long numBytes,
                                                     CFStringEncoding encoding, bool isExternalRepresentation);
コード例 #2
0
ファイル: MacHelpers.cs プロジェクト: Markusyatina/SteamKit
 public static extern CFTypeRef CFStringCreateWithCString(CFTypeRef allocator, string cStr, CFStringEncoding encoding);
コード例 #3
0
ファイル: MacHelpers.cs プロジェクト: Markusyatina/SteamKit
 public static extern bool CFStringGetCString(CFTypeRef theString, StringBuilder buffer, long bufferSize, CFStringEncoding encoding);
コード例 #4
0
 protected static extern IntPtr /* CFStringRef */ CFStringCreateWithCString(IntPtr /* CFAllocatorRef */ alloc,
                             string cStr,
                             CFStringEncoding encoding);
コード例 #5
0
ファイル: CoreFoundation.cs プロジェクト: swoolcock/opentk
 internal static extern Boolean CFStringGetCString(
     CFStringRef theString,
     byte[] buffer,
     CFIndex bufferSize,
     CFStringEncoding encoding
     );
コード例 #6
0
 private static extern IntPtr CFStringCreateWithBytesNoCopy(IntPtr allocator, byte[] data, ulong numBytes,
                                                            CFStringEncoding encoding, bool isExternalRepresentation, IntPtr contentsDeallocator);
コード例 #7
0
 private static extern IntPtr CFStringCreateWithCString(IntPtr alloc, [MarshalAs(UnmanagedType.LPStr)] string str, CFStringEncoding encoding);
コード例 #8
0
 private static extern IntPtr CFStringCreateFromExternalRepresentation(IntPtr allocator, IntPtr data,
     CFStringEncoding encoding);
コード例 #9
0
 private static extern IntPtr CFStringCreateWithBytesNoCopy(IntPtr allocator, byte[] data, ulong numBytes,
     CFStringEncoding encoding, bool isExternalRepresentation, IntPtr contentsDeallocator);
コード例 #10
0
ファイル: cfdatetimetools.cs プロジェクト: yukitos/coreclr
 protected static extern IntPtr /* CFStringRef */ CFStringCreateWithCString(IntPtr /* CFAllocatorRef */ alloc,
                                                                            string cStr,
                                                                            CFStringEncoding encoding);
コード例 #11
0
 internal static extern Boolean CFStringGetCString(
     CFStringRef theString,
     byte[] buffer,
     CFIndex bufferSize,
     CFStringEncoding encoding
 );
コード例 #12
0
ファイル: cfdatetimetools.cs プロジェクト: yukitos/coreclr
 protected static extern string CFStringGetCStringPtr(IntPtr /* CFStringRef */ theString, CFStringEncoding encoding);
コード例 #13
0
ファイル: MacHelpers.cs プロジェクト: stil/SteamKit
 public static extern bool CFStringGetCString(CFTypeRef theString, StringBuilder buffer, long bufferSize, CFStringEncoding encoding);
コード例 #14
0
ファイル: MacHelpers.cs プロジェクト: stil/SteamKit
 public static extern CFTypeRef CFStringCreateWithCString(CFTypeRef allocator, string cStr, CFStringEncoding encoding);
コード例 #15
0
 public static extern bool CFStringGetCString(IntPtr theString, IntPtr buffer, long bufferSize, CFStringEncoding encoding);
コード例 #16
0
 private static extern IntPtr CFStringCreateWithCString(IntPtr allocator, string data, CFStringEncoding encoding);
コード例 #17
0
 private static extern IntPtr CFStringCreateFromExternalRepresentation(IntPtr allocator, IntPtr data,
                                                                       CFStringEncoding encoding);
コード例 #18
0
 protected static extern string CFStringGetCStringPtr(IntPtr /* CFStringRef */ theString, CFStringEncoding encoding);
コード例 #19
0
 private static extern IntPtr CFStringCreateWithCString(IntPtr allocator, string data, CFStringEncoding encoding);
コード例 #20
0
			public static extern bool CFStringGetCString(IntPtr theString, char* buffer, long bufferSize, CFStringEncoding encoding);