Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emscripten-core/emscripten
/ nodejs_websocket_echo_server.js
File
nodejs_websocket_echo_server.js
test/websocket/nodejs_websocket_echo_server.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
function
padHex(number, digits) {
2
var
s = number.toString(16);
3
return
Array(Math.max(digits - s.length + 1, 0)).join(0) + s;
4
}
Callers
nothing calls this directly
Calls
3
hexDump
Function · 0.85
log
Method · 0.80
send
Method · 0.45
Tested by
no test coverage detected