Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ renderAddress
Function
renderAddress
crates/explorer/src/index.js:190–193 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
188
};
189
190
const
renderAddress = addr => {
191
let
hex = addr.toString(16);
192
return
repeat(
"0"
, 8 - hex.length) + hex;
193
};
194
195
const
renderBytes = bytes => {
196
let
s =
""
;
Callers
1
index.js
File · 0.85
Calls
1
repeat
Function · 0.70
Tested by
no test coverage detected