Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ numberToHexCharCode
Function
numberToHexCharCode
lib/internal/crypto/random.js:554–554 ·
view source on GitHub ↗
(number)
Source
from the content-addressed store, hash-verified
552
* of the parameter.
553
*/
554
const
numberToHexCharCode = (number) => (number < 10 ? 48 : 87) + number;
555
556
/**
557
* @param {ArrayBuffer} buf An ArrayBuffer.
Callers
1
arrayBufferToUnsignedBigInt
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…