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

Method trace

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

Source from the content-addressed store, hash-verified

15 private static native void wasmImportTrace(int p0, int p1);
16
17 public static void trace(String s) {
18 byte[] bytes = (s).getBytes(StandardCharsets.UTF_8);
19 wasmImportTrace(Address.ofData(bytes).toInt(), bytes.length);
20
21 }
22 @Import(name = "debug", module = "log")
23 private static native void wasmImportDebug(int p0, int p1);
24

Callers 1

initMethod · 0.95

Implementers 1

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

Calls 1

wasmImportTraceMethod · 0.95

Tested by

no test coverage detected