mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-22 16:35:14 +00:00
1 line
1.5 KiB
JSON
1 line
1.5 KiB
JSON
{"ast":null,"code":"import Uint8Array from './_Uint8Array.js';\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\n\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;","map":{"version":3,"sources":["/app/node_modules/lodash-es/_cloneArrayBuffer.js"],"names":["Uint8Array","cloneArrayBuffer","arrayBuffer","result","constructor","byteLength","set"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,kBAAvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AACA,SAASC,gBAAT,CAA0BC,WAA1B,EAAuC;AACrC,MAAIC,MAAM,GAAG,IAAID,WAAW,CAACE,WAAhB,CAA4BF,WAAW,CAACG,UAAxC,CAAb;AACA,MAAIL,UAAJ,CAAeG,MAAf,EAAuBG,GAAvB,CAA2B,IAAIN,UAAJ,CAAeE,WAAf,CAA3B;AACA,SAAOC,MAAP;AACD;;AAED,eAAeF,gBAAf","sourcesContent":["import Uint8Array from './_Uint8Array.js';\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nexport default cloneArrayBuffer;\n"]},"metadata":{},"sourceType":"module"} |