aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/bufferClone.js
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/bufferClone.js')
-rw-r--r--vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/bufferClone.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/bufferClone.js b/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/bufferClone.js
deleted file mode 100644
index f3c12b8c..00000000
--- a/vnfmarket/src/main/webapp/vnfmarket/node_modules/lodash/internal/bufferClone.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/** Native method references. */
-var ArrayBuffer = global.ArrayBuffer,
- Uint8Array = global.Uint8Array;
-
-/**
- * Creates a clone of the given array buffer.
- *
- * @private
- * @param {ArrayBuffer} buffer The array buffer to clone.
- * @returns {ArrayBuffer} Returns the cloned array buffer.
- */
-function bufferClone(buffer) {
- var result = new ArrayBuffer(buffer.byteLength),
- view = new Uint8Array(result);
-
- view.set(new Uint8Array(buffer));
- return result;
-}
-
-module.exports = bufferClone;