MCPcopy Create free account
hub / github.com/demoth/jake2 / getHighBitString

Method getHighBitString

client/src/main/java/jake2/client/CL_inv.java:60–66  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

58 }
59
60 static String getHighBitString(String s) {
61 byte[] b = Lib.stringToBytes(s);
62 for (int i = 0; i < b.length; i++) {
63 b[i] = (byte) (b[i] | 128);
64 }
65 return Lib.bytesToString(b);
66 }
67
68 /*
69 * ================ CL_DrawInventory ================

Callers 1

DrawInventoryMethod · 0.95

Calls 2

stringToBytesMethod · 0.95
bytesToStringMethod · 0.95

Tested by

no test coverage detected