@Override public char[] get() { byte[] bytes = getBytes(); char[] result = new char[length]; for (int i = 0; i < length; i++) { result[i] = (char) bytes[i]; } return result; } }
@Override public Failure getFailure() { return failure.get(); }
public XfsWordArray(Class<T> type, int length) { super(new XfsWord[length]); for (int i = 0; i < array.length; i++) { array[i] = new XfsWord<>(type); } this.type = type; }
public List<Set<GuidLight>> getGuidLights() { return guidLights.get(); }
@Override public void set(char[] value) { byte[] bytes = new byte[length]; for (int i = 0; i < length; i++) { bytes[i] = (byte) value[i]; } put(bytes); }
@Override public long longValue() { return intValue(); } }
@Override public byte[] get() { return getBytes(); } }
@Override public long longValue() { return intValue(); } }
@Override public int intValue() { return (int) longValue(); }
public XfsWordBitmask(Class<T> aType, Pointer p) { this(aType); assignBuffer(p); }
public XfsWord(Class<T> type, Pointer p) { this(type); assignBuffer(p); }
@Override public int intValue() { return (int) longValue(); }
public XfsData(Pointer p, int length) { this(length); assignBuffer(p); }