public byte[] getCAPublicKeyCheckSum() { return cAPublicKeyCheckSum.buffer(20).get(); }
public Optional<byte[]> getData() { Optional<byte[]> result = Optional.empty(); if (!Pointer.NULL.equals(data)) { result = Optional.of(data.buffer(dataLength.intValue()).get()); } return result; }
public Optional<byte[]> getComparisonData() { Optional<byte[]> result = Optional.empty(); if (getLength() > 0) { result = Optional.of(comparisonData.buffer(getLength()).get()); } return result; }
public WFSResult(final Pointer pResult) { this(); assignBuffer(pResult.buffer(getSize())); }
public byte[] getData() { return data.buffer(length.intValue()).get(); }
public byte[] getData() { return data.buffer(length.intValue()).get(); }
public byte[] getData() { return data.buffer(dataLength.intValue()).get(); }
protected final void assignBuffer(Pointer p) { assignBuffer(p.buffer(getSize())); }
public byte[] getChipData() { return chipData.buffer(chipDataLength.intValue()).get(); }
public byte[] getData() { return data.buffer(size.intValue()).get(); }
public byte[] getKeyValue() { return keyValue.buffer(keyLen.intValue()).get(); }
public byte[] getData() { return data.buffer(size.intValue()).get(); }
public byte[] getChipData() { return chipData.buffer(chipDataLength.intValue()).get(); }
public byte[] getDescription() { byte[] result = Bytes.EMPTY; if (length.intValue() > 0) { result = description.buffer(length.intValue()).get(); } return result; }
public byte[] getDescription() { byte[] result = Bytes.EMPTY; if (length.intValue() > 0) { result = description.buffer(length.intValue()).get(); } return result; }
public byte[] getDescription() { byte[] result = Bytes.EMPTY; if (length.intValue() > 0) { result = description.buffer(length.intValue()).get(); } return result; }
public byte[] getData() { byte[] result = null; if (!Pointer.NULL.equals(data)) { result = data.buffer(getDataLength()).get(); } return result; } }
/** * {@link #data} */ public byte[] getData() { byte[] result = null; if (!Pointer.NULL.equals(data)) { result = data.buffer(getLength()).get(); } return result; }
public MemoryChipProtocols(Pointer aPointer) { Buffer buffer = null; for (int i = 0;; i++) { buffer = aPointer.buffer((i * WORD.SIZE) + WORD.SIZE); Buffer subBuffer = buffer.subBuffer(i * WORD.SIZE, WORD.SIZE); WORD word = new WORD(subBuffer); if (word.intValue() == 0L) { memoryChipProtocols = new WORD[i]; assignBuffer(buffer); break; } } }
public XfsPointerArray(Pointer p, int length) { pointers = new Pointer[length]; assignBuffer(p.buffer(getSize())); for (int i = 0; i < pointers.length; i++) { pointers[i] = new Pointer(getBuffer().subBuffer(i * Pointer.NULL.getSize(), Pointer.NULL.getSize())); } }