@gmod/bbi
Version:
Parser for BigWig/BigBed files
17 lines • 696 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
// from https://github.com/yume-chan/ya-webadb/blob/main/libraries/dataview-bigint-polyfill
// license:MIT
// needed for browsers including safari 14
const pure_ts_1 = require("./pure.js");
if (!('getBigInt64' in DataView)) {
DataView.prototype.getBigInt64 = function (byteOffset, littleEndian) {
return (0, pure_ts_1.getBigInt64)(this, byteOffset, littleEndian);
};
}
if (!('getBigUint64' in DataView)) {
DataView.prototype.getBigUint64 = function (byteOffset, littleEndian) {
return (0, pure_ts_1.getBigUint64)(this, byteOffset, littleEndian);
};
}
//# sourceMappingURL=polyfill.js.map