Lines Matching refs:valueBuf
88 public static int byteArrayToInt(byte[] valueBuf) { in byteArrayToInt() argument
89 return byteArrayToInt(valueBuf, 0); in byteArrayToInt()
92 public static short byteArrayToShort(byte[] valueBuf) { in byteArrayToShort() argument
93 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToShort()
98 public static int byteArrayToInt(byte[] valueBuf, int offset) { in byteArrayToInt() argument
99 ByteBuffer converter = ByteBuffer.wrap(valueBuf); in byteArrayToInt()
104 public static String byteArrayToString(byte[] valueBuf) { in byteArrayToString() argument
106 for (int idx = 0; idx < valueBuf.length; idx++) { in byteArrayToString()
110 sb.append(String.format("%02x", valueBuf[idx])); in byteArrayToString()
121 public static String byteArrayToUtf8String(byte[] valueBuf) { in byteArrayToUtf8String() argument
123 ByteBuffer byteBuffer = ByteBuffer.wrap(valueBuf); in byteArrayToUtf8String()