/** * Copies {@code dst.length} shorts from the memory pointed to by this * {@link ShortPtr} to {@code dst}. * * @param dst the destination. */ public void get(short[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} shorts from the memory pointed to by this {@link ShortPtr} * to a new {@code short[]} instance. * * @param n the number of shorts to copy. * @return the {@code short[]}. */ public short[] toShortArray(int n) { short[] result = new short[n]; get(result); return result; }
/** * @since Available in iOS 5.0 and later. */ public short getMode() { ShortPtr ptr = new ShortPtr(); getMode(ptr); return ptr.get(); } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short getNegotiatedCipher() throws OSStatusException { ShortPtr ptr = new ShortPtr(); OSStatus status = getNegotiatedCipher0(ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @throws OSStatusException * @since Available in iOS 4.0 and later. */ public short getDefaultStyleLocalFontID() throws OSStatusException { ShortPtr ptr = new ShortPtr(); OSStatus status = getDefaultStyle0(ptr, null, null, null, null, null); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
public short shortValue() { VoidPtr ptr = new VoidPtr(); getValue(CFNumberType.SInt16Type, ptr); return ptr.as(ShortPtr.class).get(); } public char charValue() {
/** * Copies {@code n} shorts from the memory pointed to by this {@link ShortPtr} * to a new {@code short[]} instance. * * @param n the number of shorts to copy. * @return the {@code short[]}. */ public short[] toShortArray(int n) { short[] result = new short[n]; get(result); return result; }
/** * Copies {@code dst.length} shorts from the memory pointed to by this * {@link ShortPtr} to {@code dst}. * * @param dst the destination. */ public void get(short[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} shorts from the memory pointed to by this {@link ShortPtr} * to a new {@code short[]} instance. * * @param n the number of shorts to copy. * @return the {@code short[]}. */ public short[] toShortArray(int n) { short[] result = new short[n]; get(result); return result; }
/** * Copies {@code dst.length} shorts from the memory pointed to by this * {@link ShortPtr} to {@code dst}. * * @param dst the destination. */ public void get(short[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code dst.length} shorts from the memory pointed to by this * {@link ShortPtr} to {@code dst}. * * @param dst the destination. */ public void get(short[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code dst.length} shorts from the memory pointed to by this * {@link ShortPtr} to {@code dst}. * * @param dst the destination. */ public void get(short[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code dst.length} shorts from the memory pointed to by this * {@link ShortPtr} to {@code dst}. * * @param dst the destination. */ public void get(short[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} shorts from the memory pointed to by this {@link ShortPtr} * to a new {@code short[]} instance. * * @param n the number of shorts to copy. * @return the {@code short[]}. */ public short[] toShortArray(int n) { short[] result = new short[n]; get(result); return result; }
/** * @since Available in iOS 5.0 and later. */ public short getMode() { ShortPtr ptr = new ShortPtr(); getMode(ptr); return ptr.get(); } /*<methods>*/
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short getNegotiatedCipher() throws OSStatusException { ShortPtr ptr = new ShortPtr(); OSStatus status = getNegotiatedCipher0(ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @throws OSStatusException * @since Available in iOS 4.0 and later. */ public short getDefaultStyleLocalFontID() throws OSStatusException { ShortPtr ptr = new ShortPtr(); OSStatus status = getDefaultStyle0(ptr, null, null, null, null, null); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @throws OSStatusException * @since Available in iOS 5.0 and later. */ public short getNegotiatedCipher() throws OSStatusException { ShortPtr ptr = new ShortPtr(); OSStatus status = getNegotiatedCipher0(ptr); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
/** * @throws OSStatusException * @since Available in iOS 4.0 and later. */ public short getDefaultStyleLocalFontID() throws OSStatusException { ShortPtr ptr = new ShortPtr(); OSStatus status = getDefaultStyle0(ptr, null, null, null, null, null); OSStatusException.throwIfNecessary(status); return ptr.get(); } /**
public short shortValue() { VoidPtr ptr = new VoidPtr(); getValue(CFNumberType.SInt16Type, ptr); return ptr.as(ShortPtr.class).get(); } public char charValue() {