MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / pad

Method pad

src/main/java/field/graphics/util/SaverFBO.java:159–164  ·  view source on GitHub ↗
(int i)

Source from the content-addressed store, hash-verified

157 private void runHooks(Pair<ByteBuffer, ByteBuffer> storage) {
158 hooks.values().stream().forEach(x -> x.accept(storage.first));
159 }
160
161 @HiddenInAutocomplete
162 static public String pad(int i) {
163 String s = i + "";
164 while (s.length() < 6) s = "0" + s;
165 return s;
166 }
167

Callers 1

updateMethod · 0.95

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected