MCPcopy Create free account
hub / github.com/GregTech6/gregtech6 / unsignI

Method unsignI

src/main/java/gregapi/util/UT.java:1233–1235  ·  view source on GitHub ↗

@return an unsigned representation of this Integer.

(int aInteger)

Source from the content-addressed store, hash-verified

1231
1232 /** @return an unsigned representation of this Integer. */
1233 public static long unsignI(int aInteger) {
1234 return aInteger < 0 ? aInteger + 4294967296L : aInteger;
1235 }
1236
1237 public static byte toByteS(short aValue, int aIndex) {return (byte)(aValue >> (aIndex<<3));}
1238 public static byte toByteI(int aValue, int aIndex) {return (byte)(aValue >> (aIndex<<3));}

Callers 1

averageUnsignedIntsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected