UNPKG

@dartess/multicoin-address-validator

Version:

Multicoin address validator for Bitcoin and other Altcoins ported to TypeScript.

13 lines 406 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.toHex = void 0; const numberToHex_1 = require("./numberToHex"); function toHex(arrayOfBytes) { let hex = ''; for (let i = 0; i < arrayOfBytes.length; i++) { hex += (0, numberToHex_1.numberToHex)(arrayOfBytes[i]); } return hex; } exports.toHex = toHex; //# sourceMappingURL=toHex.js.map