MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / logByteArray

Method logByteArray

src/main/java/emu/grasscutter/utils/Utils.java:70–74  ·  view source on GitHub ↗
(byte[] array)

Source from the content-addressed store, hash-verified

68 }
69
70 public static void logByteArray(byte[] array) {
71 ByteBuf b = Unpooled.wrappedBuffer(array);
72 Grasscutter.getLogger().info("\n" + ByteBufUtil.prettyHexDump(b));
73 b.release();
74 }
75
76 private static final char[] HEX_ARRAY = "0123456789abcdef".toCharArray();
77 public static String bytesToHex(byte[] bytes) {

Callers

nothing calls this directly

Calls 1

getLoggerMethod · 0.95

Tested by

no test coverage detected