Loading javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java +4 −2 Original line number Diff line number Diff line Loading @@ -698,8 +698,10 @@ public class PluginAdapter implements TriCommunicationSA, TriCommunicationTE, xT returnValue.setNumberOfBits(Long.SIZE); returnValue.setEncodedParameter( ByteHelper.longToByteArray( ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left 6/*Long.SIZE / Byte.SIZE*/ // Encoding on 48 bits // ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left // 6/*Long.SIZE / Byte.SIZE*/ // Encoding on 48 bits ((IntegerValueEx)time).getInt64(), Long.SIZE / Byte.SIZE )); _logger.exiting("PluginAdapter", "exec_getCurrentTime", ByteHelper.byteArrayToString(returnValue.getEncodedParameter())); Loading Loading
javasrc/tool/org/etsi/its/tool/elvior/PluginAdapter.java +4 −2 Original line number Diff line number Diff line Loading @@ -698,8 +698,10 @@ public class PluginAdapter implements TriCommunicationSA, TriCommunicationTE, xT returnValue.setNumberOfBits(Long.SIZE); returnValue.setEncodedParameter( ByteHelper.longToByteArray( ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left 6/*Long.SIZE / Byte.SIZE*/ // Encoding on 48 bits // ((IntegerValueEx)time).getInt64() << 6, // Decoding starts from bit 0, byte 0, so we have to shift the value 6 bits to the left // 6/*Long.SIZE / Byte.SIZE*/ // Encoding on 48 bits ((IntegerValueEx)time).getInt64(), Long.SIZE / Byte.SIZE )); _logger.exiting("PluginAdapter", "exec_getCurrentTime", ByteHelper.byteArrayToString(returnValue.getEncodedParameter())); Loading