private String decode(CFStringRef s)
{
int length = CF_LIBRARY.CFStringGetLength(s).intValue();
char[] buf = new char[length];
CF_LIBRARY.CFStringGetCharacters(s, new CFRange.ByValue(new CFIndex(0), new CFIndex(length)), buf);
return new String(buf);
}