MCPcopy Create free account
hub / github.com/capstone-engine/capstone / stringToHexUc

Method stringToHexUc

bindings/java/TestM680x.java:38–44  ·  view source on GitHub ↗
(byte[] code)

Source from the content-addressed store, hash-verified

36 }
37
38 static public String stringToHexUc(byte[] code) {
39 StringBuilder buf = new StringBuilder(800);
40 for (byte ch: code) {
41 buf.append(String.format(" 0x%02x", ch));
42 }
43 return buf.toString();
44 }
45
46 static public String stringToHexShortUc(byte[] code) {
47 StringBuilder buf = new StringBuilder(800);

Callers 1

mainMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected