MCPcopy Create free account
hub / github.com/bnjbvr/trinity / debug

Method debug

java-module/Log.java:25–29  ·  view source on GitHub ↗
(String s)

Source from the content-addressed store, hash-verified

23 private static native void wasmImportDebug(int p0, int p1);
24
25 public static void debug(String s) {
26 byte[] bytes = (s).getBytes(StandardCharsets.UTF_8);
27 wasmImportDebug(Address.ofData(bytes).toInt(), bytes.length);
28
29 }
30 @Import(name = "info", module = "log")
31 private static native void wasmImportInfo(int p0, int p1);
32

Callers

nothing calls this directly

Implementers 1

lib.rsmodules/wit-log/src/lib.rs

Calls 1

wasmImportDebugMethod · 0.95

Tested by

no test coverage detected