Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UI5/webcomponents
/ toHex
Function
toHex
packages/main/test/pages/diffable-html.js:1727–1730 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
1725
}
1726
1727
function
toHex (n) {
1728
if
(n < 16)
return
'0'
+ n.toString(16)
1729
return
n.toString(16)
1730
}
1731
1732
function
utf8ToBytes (string, units) {
1733
units = units || Infinity
Callers
1
hexSlice
Function · 0.85
Calls
1
toString
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…