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

Method bytesToHex

java/lib/src/main/java/io/github/ccxt/Exchange.java:2433–2439  ·  view source on GitHub ↗
(byte[] bytes)

Source from the content-addressed store, hash-verified

2431 }
2432
2433 private String bytesToHex(byte[] bytes) {
2434 StringBuilder sb = new StringBuilder(bytes.length * 2);
2435 for (byte b : bytes) {
2436 sb.append(String.format("%02x", b));
2437 }
2438 return sb.toString();
2439 }
2440
2441 // EIP-712 typed-data encoder. Returns the pre-digest bytes
2442 // (0x1901 || domainSeparator || hashStruct(message)) that the caller

Callers 1

randomBytesMethod · 0.95

Calls 3

appendMethod · 0.45
formatMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected