/** * Copies {@code dst.length} chars from the memory pointed to by this * {@link CharPtr} to {@code dst}. * * @param dst the destination. */ public void get(char[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} chars from the memory pointed to by this {@link CharPtr} * to a new {@code char[]} instance. * * @param n the number of chars to copy. * @return the {@code char[]}. */ public char[] toCharArray(int n) { char[] result = new char[n]; get(result); return result; }
public char charValue() { VoidPtr ptr = new VoidPtr(); getValue(CFNumberType.SInt16Type, ptr); return ptr.as(CharPtr.class).get(); } public int intValue() {
/** * Copies {@code dst.length} chars from the memory pointed to by this * {@link CharPtr} to {@code dst}. * * @param dst the destination. */ public void get(char[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code dst.length} chars from the memory pointed to by this * {@link CharPtr} to {@code dst}. * * @param dst the destination. */ public void get(char[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} chars from the memory pointed to by this {@link CharPtr} * to a new {@code char[]} instance. * * @param n the number of chars to copy. * @return the {@code char[]}. */ public char[] toCharArray(int n) { char[] result = new char[n]; get(result); return result; }
/** * Copies {@code dst.length} chars from the memory pointed to by this * {@link CharPtr} to {@code dst}. * * @param dst the destination. */ public void get(char[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} chars from the memory pointed to by this {@link CharPtr} * to a new {@code char[]} instance. * * @param n the number of chars to copy. * @return the {@code char[]}. */ public char[] toCharArray(int n) { char[] result = new char[n]; get(result); return result; }
/** * Copies {@code dst.length} chars from the memory pointed to by this * {@link CharPtr} to {@code dst}. * * @param dst the destination. */ public void get(char[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} chars from the memory pointed to by this {@link CharPtr} * to a new {@code char[]} instance. * * @param n the number of chars to copy. * @return the {@code char[]}. */ public char[] toCharArray(int n) { char[] result = new char[n]; get(result); return result; }
/** * Copies {@code n} chars from the memory pointed to by this {@link CharPtr} * to a new {@code char[]} instance. * * @param n the number of chars to copy. * @return the {@code char[]}. */ public char[] toCharArray(int n) { char[] result = new char[n]; get(result); return result; }
/** * Copies {@code dst.length} chars from the memory pointed to by this * {@link CharPtr} to {@code dst}. * * @param dst the destination. */ public void get(char[] dst) { get(dst, 0, dst.length); }
/** * Copies {@code n} chars from the memory pointed to by this {@link CharPtr} * to a new {@code char[]} instance. * * @param n the number of chars to copy. * @return the {@code char[]}. */ public char[] toCharArray(int n) { char[] result = new char[n]; get(result); return result; }
public char charValue() { VoidPtr ptr = new VoidPtr(); getValue(CFNumberType.SInt16Type, ptr); return ptr.as(CharPtr.class).get(); } public int intValue() {
public char charValue() { VoidPtr ptr = new VoidPtr(); getValue(CFNumberType.SInt16Type, ptr); return ptr.as(CharPtr.class).get(); } public int intValue() {