public class CfUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CfUtil.CFNumberType
Enum values used for number type in CFNumberGetValue().
|
| Modifier and Type | Field and Description |
|---|---|
static CoreFoundation.CFAllocatorRef |
ALLOCATOR |
| Constructor and Description |
|---|
CfUtil() |
| Modifier and Type | Method and Description |
|---|---|
static long |
cfPointerToLong(com.sun.jna.Pointer p)
Convert a pointer representing a Core Foundations LongLong into its long
|
static String |
cfPointerToString(com.sun.jna.Pointer p)
Convert a pointer representing a Core Foundations String into its string
|
static void |
release(com.sun.jna.PointerType ref)
Releases a CF reference.
|
public static final CoreFoundation.CFAllocatorRef ALLOCATOR
public static long cfPointerToLong(com.sun.jna.Pointer p)
p - The pointer to a 64-bit integerpublic static String cfPointerToString(com.sun.jna.Pointer p)
p - The pointer to a CFStringpublic static void release(com.sun.jna.PointerType ref)
ref - The reference to releaseCopyright © 2010–2016 com.github.dblock. All rights reserved.