lakutata
Version:
An IoC-based universal application framework.
19 lines (14 loc) • 412 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, {
value: "Module"
});
const e = require("../base/internal/IEEE754.cjs");
function r(r) {
const t = Buffer.from(r, "hex");
if (t.length === 8) {
return e.readIEEE754(Buffer.from(r, "hex"), 0, false, 52, 8);
} else {
return e.readIEEE754(Buffer.from(r, "hex"), 0, false, 23, 4);
}
}
exports.HexToIEEE754 = r;