public static extern IntPtr CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExtRep);
public Boolean CFStringGetCString(TypedPtr <CFString> theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding) { return(CoreFoundation.CFStringGetCString((IntPtr)theString, buffer, bufferSize, encoding)); }
public static extern IntPtr CFStringCreateWithCString(IntPtr allocator, byte[] buffer, CFStringBuiltInEncodings encoding);
private static partial SafeCFDataHandle CFStringCreateExternalRepresentation( IntPtr alloc, SafeCFStringHandle theString, CFStringBuiltInEncodings encoding, byte lossByte);
public TypedPtr <CFString> CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExternalRep) { return(CoreFoundation.CFStringCreateWithBytes(allocator, buffer, bufferSize, encoding, isExternalRep)); }
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);
private static extern SafeCreateHandle CFStringCreateWithCString( IntPtr allocator, string str, CFStringBuiltInEncodings encoding);
private static extern Boolean CFStringGetCString(IntPtr/*CFString*/ theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding);
public Boolean CFStringGetCString(TypedPtr<CFString> theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding) { return CoreFoundation.CFStringGetCString((IntPtr)theString, buffer, bufferSize, encoding); }
public TypedPtr<CFString> CFStringCreateWithBytes(IntPtr allocator, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding, Boolean isExternalRep) { return CoreFoundation.CFStringCreateWithBytes(allocator, buffer, bufferSize, encoding, isExternalRep); }
public extern static Boolean CFStringGetCString(IntPtr /*CFString*/ theString, byte[] buffer, int bufferSize, CFStringBuiltInEncodings encoding);
private static extern SafeCreateHandle CFStringCreateWithBytes( IntPtr alloc, IntPtr bytes, CFIndex numBytes, CFStringBuiltInEncodings encoding, bool isExternalRepresentation);
private static extern CFStringRef CFStringCreateWithCString( IntPtr allocator, string str, CFStringBuiltInEncodings encoding);