MCPcopy Index your code
hub / github.com/apache/tvm / decodeToStr

Method decodeToStr

jvm/core/src/main/java/org/apache/tvm/rpc/Utils.java:73–79  ·  view source on GitHub ↗
(byte[] bytes)

Source from the content-addressed store, hash-verified

71 }
72
73 public static String decodeToStr(byte[] bytes) {
74 StringBuilder builder = new StringBuilder();
75 for (byte bt : bytes) {
76 builder.append((char) bt);
77 }
78 return builder.toString();
79 }
80
81 public static String recvString(InputStream in) throws IOException {
82 String recvString = null;

Callers 3

recvStringMethod · 0.95
runMethod · 0.95
runMethod · 0.95

Calls 2

appendMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected