/** * {@link #data} */ public void setData(final byte[] data) { setLength(data.length); ByteArray array = new ByteArray(data); this.data.pointTo(array); }
protected void set(byte[] copy) { length.set(copy.length); data.pointTo(new ByteArray(copy)); }
@Override public void set(Map<String, String> value) { if (value.isEmpty()) { pointTo(NULL); } else { pointTo(new ByteArray(encode(value))); } }
@Override public void set(Map<String, String> value) { if (value.isEmpty()) { pointTo(NULL); } else { pointTo(new ByteArray(encode(value))); } }
public HexData330(byte[] copy) { this(); allocate(); length.set(copy.length); data.pointTo(new ByteArray(copy)); }
protected void set(ChipPowerOut3 copy) { chipDataLength.set(copy.chipDataLength); chipData.pointTo(new ByteArray(copy.getChipData())); }
protected void set(Setkey3 copy) { keyLen.set(copy.keyLen); keyValue.pointTo(new ByteArray(copy.getKeyValue())); }
protected void set(CardData3 copy) { dataSource.set(copy.getDataSource()); status.set(copy.getStatus()); dataLength.set(copy.dataLength); data.pointTo(new ByteArray(copy.getData())); Optional<WriteMethod> writeMethod = Optional.empty(); if (writeMethod.isPresent()) { this.writeMethod.set(writeMethod.get()); } }
public void set(byte[] value) { if (value == null) { data.pointTo(Pointer.NULL); dataLength.set(0); } else { dataLength.set(value.length); data.pointTo(new ByteArray(value)); } }
private RawData3(Builder builder) { this(); allocate(); inputData.set(builder.inputData); size.set(builder.data.length); data.pointTo(new ByteArray(builder.data)); }
protected void set(Image3 copy) { imageSource.set(copy.getImageSource()); status.set(copy.getStatus()); dataLength.set(copy.dataLength); Optional<byte[]> data = copy.getData(); if (data.isPresent()) { this.data.pointTo(new ByteArray(data.get())); } }
protected void set(ChipIo3 copy) { chipProtocol.set(copy.getChipProtocol()); chipDataLength.set(copy.chipDataLength); chipData.pointTo(new ByteArray(copy.getChipData())); }
protected void set(RawData3 copy) { inputData.set(copy.getInputData()); size.set(copy.size); data.pointTo(new ByteArray(copy.getData())); }
protected void set(P6SignaturesIndex310 copy) { index.set(copy.getIndex()); confidenceLevel.set(copy.getConfidenceLevel()); length.set(copy.getLength()); if (copy.getComparisonData().isPresent()) { comparisonData.pointTo(new ByteArray(copy.getComparisonData().get())); } }
protected void set(P6Signature3 copy) { noteId.set(copy.getNoteId()); length.set(copy.getLength()); orientation.set(copy.getOrientation()); signature.pointTo(new ByteArray(copy.getSignature())); }
public WfsHardwareError2(WfsHardwareError2 copy) { addFields(); logicalName.set(copy.getLogicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); }
public WfsVersionError(WfsVersionError copy) { this(); allocate(); logicalName.set(copy.getLogicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); wfsVersion.pointTo(new WFSVersion(copy.getWfsVersion())); }
public WfsUndeliverableMessage(WfsUndeliverableMessage copy) { this(); allocate(); logicalName.set(copy.getLogicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); wfsResult.pointTo(new WFSResult(copy.getWfsResult())); }
public WfsHardwareError3(WfsHardwareError3 copy) { this(); allocate(); logicalName.set(copy.getLogicalName()); physicalName.set(copy.getPhysicalName()); workstationName.set(copy.getWorkstationName()); appId.set(copy.getAppId()); action.set(copy.getAction()); length.set(copy.length); description.pointTo(new ByteArray(copy.getDescription())); }
protected void set(KeyData330 copy) { rid.pointTo(new HexData330(copy.getRID())); cAPublicKeyIndex.set(copy.getCAPublicKeyIndex()); caPublicKeyAlgorithmIndicator.set(copy.getCAPublicKeyAlgorithmIndicator()); cAPublicKeyExponent.pointTo(new HexData330(copy.getCAPublicKeyExponent())); cAPublicKeyModulus.pointTo(new HexData330(copy.getCAPublicKeyModulus())); cAPublicKeyCheckSum.pointTo(new ByteArray(copy.getCAPublicKeyCheckSum())); }