MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / getWordBE

Method getWordBE

src/main/java/util/StringUtils.java:203–206  ·  view source on GitHub ↗
(byte[] buf, int off)

Source from the content-addressed store, hash-verified

201 }
202
203 public static int getWordBE(byte[] buf, int off) {
204 int val = (((int) buf[off]) << 8) & 0x0000FF00;
205 return val | (((int) buf[++off])) & 0x000000FF;
206 }
207
208 /* Divide text to array of parts using separator character */
209 static public String[] explode(String text, char separator) {

Callers 1

askInetSrvMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected