forked from olcxjas-softworks/LarpixClient
Update gitignore (sorry)
This commit is contained in:
parent
a8f8c4d7ad
commit
cca8b02fea
6604 changed files with 1219661 additions and 4 deletions
16
electron/node_modules/lodash/_cloneArrayBuffer.js
generated
vendored
Normal file
16
electron/node_modules/lodash/_cloneArrayBuffer.js
generated
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
var Uint8Array = require('./_Uint8Array');
|
||||
|
||||
/**
|
||||
* Creates a clone of `arrayBuffer`.
|
||||
*
|
||||
* @private
|
||||
* @param {ArrayBuffer} arrayBuffer The array buffer to clone.
|
||||
* @returns {ArrayBuffer} Returns the cloned array buffer.
|
||||
*/
|
||||
function cloneArrayBuffer(arrayBuffer) {
|
||||
var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
|
||||
new Uint8Array(result).set(new Uint8Array(arrayBuffer));
|
||||
return result;
|
||||
}
|
||||
|
||||
module.exports = cloneArrayBuffer;
|
||||
Loading…
Add table
Add a link
Reference in a new issue