// Metro module 4803 (f4804). import _classCallCheck from "./_classCallCheck"; import _createClass from "./_createClass"; let env2946 = {}; const DataView2 = function(a0) { _classCallCheck(this, DataView2); if ((typeof a0 === "object" ? a0.length === void 0 : typeof a0 !== "object") || a0.readUInt8 === void 0 || a0.readUInt16LE === void 0 || a0.readUInt16BE === void 0 || a0.readUInt32LE === void 0 || a0.readUInt32BE === void 0 || a0.readInt32LE === void 0 || a0.readInt32BE === void 0) { throw new Error("DataView: Passed buffer type is unsupported."); } this.buffer = a0; this.byteLength = this.buffer.length; }; export default _createClass(DataView2, [{ key: "getUint8", value: function getUint8(a0) { return this.buffer.readUInt8(a0); } }, { key: "getUint16", value: function getUint16(a0, a1) { const buffer = this.buffer; return a1 ? buffer.readUInt16LE(a0) : buffer.readUInt16BE(a0); } }, { key: "getUint32", value: function getUint32(a0, a1) { const buffer = this.buffer; return a1 ? buffer.readUInt32LE(a0) : buffer.readUInt32BE(a0); } }, { key: "getInt32", value: function getInt32(a0, a1) { const buffer = this.buffer; return a1 ? buffer.readInt32LE(a0) : buffer.readInt32BE(a0); } }]);