"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HEX = exports.hex = void 0;
function hex(value, width = 16) {
    return `${BigInt(value).toString(16).padStart(width, '0')}`;
}
exports.hex = hex;
function HEX(value, width = 16) {
    return hex(value, width).toLocaleUpperCase();
}
exports.HEX = HEX;
//# sourceMappingURL=Hex.js.map