public short[] getOutputDataAsShortArray() { ShortPtr ptr = getOutputDataPointer().as(ShortPtr.class); return ptr.toShortArray(getOutputDataSize()); } public char[] getOutputDataAsCharArray() {
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(short[] characters) { ShortPtr cptr = new ShortPtr(); cptr.set(characters); ShortPtr ptr = new ShortPtr(); getGlyphs(cptr, ptr, characters.length); return ptr.toShortArray(characters.length); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(@ByVal CFRange range) { ShortPtr ptr = new ShortPtr(); getGlyphs(range, ptr); return ptr.toShortArray((int) getGlyphCount()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short[] getEnabledCiphers() throws OSStatusException { ShortPtr ciphersPtr = new ShortPtr(); MachineSizedUIntPtr numCiphersPtr = new MachineSizedUIntPtr(); OSStatus status = getEnabledCiphers0(ciphersPtr, numCiphersPtr); OSStatusException.throwIfNecessary(status); return ciphersPtr.toShortArray((int)numCiphersPtr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short[] getSupportedCiphers() throws OSStatusException { ShortPtr ciphersPtr = new ShortPtr(); MachineSizedUIntPtr numCiphersPtr = new MachineSizedUIntPtr(); OSStatus status = getSupportedCiphers0(ciphersPtr, numCiphersPtr); OSStatusException.throwIfNecessary(status); return ciphersPtr.toShortArray((int)numCiphersPtr.get()); } /**
public short[] getOutputDataAsShortArray() { ShortPtr ptr = getOutputDataPointer().as(ShortPtr.class); return ptr.toShortArray(getOutputDataSize()); } public char[] getOutputDataAsCharArray() {
public short[] getOutputDataAsShortArray() { ShortPtr ptr = getOutputDataPointer().as(ShortPtr.class); return ptr.toShortArray(getOutputDataSize()); } public char[] getOutputDataAsCharArray() {
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(@ByVal CFRange range) { ShortPtr ptr = new ShortPtr(); getGlyphs(range, ptr); return ptr.toShortArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(short[] characters) { ShortPtr cptr = new ShortPtr(); cptr.set(characters); ShortPtr ptr = new ShortPtr(); getGlyphs(cptr, ptr, characters.length); return ptr.toShortArray(characters.length); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(@ByVal CFRange range) { ShortPtr ptr = new ShortPtr(); getGlyphs(range, ptr); return ptr.toShortArray((int) getGlyphCount()); } /**
/** * @since Available in iOS 3.2 and later. */ public short[] getGlyphs(short[] characters) { ShortPtr cptr = new ShortPtr(); cptr.set(characters); ShortPtr ptr = new ShortPtr(); getGlyphs(cptr, ptr, characters.length); return ptr.toShortArray(characters.length); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short[] getEnabledCiphers() throws OSStatusException { ShortPtr ciphersPtr = new ShortPtr(); MachineSizedUIntPtr numCiphersPtr = new MachineSizedUIntPtr(); OSStatus status = getEnabledCiphers0(ciphersPtr, numCiphersPtr); OSStatusException.throwIfNecessary(status); return ciphersPtr.toShortArray((int)numCiphersPtr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short[] getSupportedCiphers() throws OSStatusException { ShortPtr ciphersPtr = new ShortPtr(); MachineSizedUIntPtr numCiphersPtr = new MachineSizedUIntPtr(); OSStatus status = getSupportedCiphers0(ciphersPtr, numCiphersPtr); OSStatusException.throwIfNecessary(status); return ciphersPtr.toShortArray((int)numCiphersPtr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short[] getSupportedCiphers() throws OSStatusException { ShortPtr ciphersPtr = new ShortPtr(); MachineSizedUIntPtr numCiphersPtr = new MachineSizedUIntPtr(); OSStatus status = getSupportedCiphers0(ciphersPtr, numCiphersPtr); OSStatusException.throwIfNecessary(status); return ciphersPtr.toShortArray((int)numCiphersPtr.get()); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short[] getEnabledCiphers() throws OSStatusException { ShortPtr ciphersPtr = new ShortPtr(); MachineSizedUIntPtr numCiphersPtr = new MachineSizedUIntPtr(); OSStatus status = getEnabledCiphers0(ciphersPtr, numCiphersPtr); OSStatusException.throwIfNecessary(status); return ciphersPtr.toShortArray((int)numCiphersPtr.get()); } /**