MCPcopy Index your code
hub / github.com/ccxt/ccxt / binaryToHex

Method binaryToHex

java/lib/src/main/java/io/github/ccxt/base/Encode.java:215–219  ·  view source on GitHub ↗
(byte[] buff)

Source from the content-addressed store, hash-verified

213 }
214
215 public static String binaryToHex(byte[] buff) {
216 StringBuilder sb = new StringBuilder(buff.length * 2);
217 for (byte b : buff) sb.append(String.format("%02x", b));
218 return sb.toString();
219 }
220
221 public static String binaryToBase16(Object buff2) {
222 byte[] buff = (byte[]) buff2;

Callers 1

binaryToBase16Method · 0.95

Calls 3

appendMethod · 0.45
formatMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected