Searched refs:byteArrayToI16 (Results 1 – 2 of 2) sorted by relevance
61 assertThat(DataTypeConversionUtil.byteArrayToI16(new byte[]{0x01, 0x02})) in byteArrayToI16_success()69 DataTypeConversionUtil.byteArrayToI16(new byte[]{(byte) 0xFF, (byte) 0xA5})) in byteArrayToI16_highByte_success()77 () -> DataTypeConversionUtil.byteArrayToI16(new byte[]{0x01})); in byteArrayToI16_shortArray_Failure()84 () -> DataTypeConversionUtil.byteArrayToI16(new byte[]{0x01, 0x02, 0x03})); in byteArrayToI16_longArray_failure()
99 public static short byteArrayToI16(byte[] bytes) { in byteArrayToI16() method in DataTypeConversionUtil