Searched refs:valueBuf (Results 1 – 1 of 1) sorted by relevance
120 public static int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument121 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()124 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument125 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()130 public static int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument131 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()136 public static String byteArrayToString(byte[] valueBuf) { in byteArrayToString() argument138 for (int idx = 0; idx < valueBuf.length; idx++) { in byteArrayToString()142 sb.append(String.format("%02x", valueBuf[idx])); in byteArrayToString()153 public static String byteArrayToUtf8String(byte[] valueBuf) { in byteArrayToUtf8String() argument[all …]