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

Function decToHex

static/word2md/mammoth.browser.js:12819–12827  ·  view source on GitHub ↗
(dec, bytes)

Source from the content-addressed store, hash-verified

12817 * @returns {string} the result.
12818 */
12819var decToHex = function(dec, bytes) {
12820 var hex = "",
12821 i;
12822 for (i = 0; i < bytes; i++) {
12823 hex += String.fromCharCode(dec & 0xff);
12824 dec = dec >>> 8;
12825 }
12826 return hex;
12827};
12828
12829/**
12830 * Merge the objects passed as parameters into a new one.

Callers 2

generateZipPartsFunction · 0.70
mammoth.browser.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected