MCPcopy Create free account
hub / github.com/TruthHun/BookStack / toHex

Function toHex

static/word2md/mammoth.browser.js:11355–11358  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

11353}
11354
11355function toHex (n) {
11356 if (n < 16) return '0' + n.toString(16)
11357 return n.toString(16)
11358}
11359
11360function utf8ToBytes (string, units) {
11361 units = units || Infinity

Callers 1

hexSliceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected