mirror of
https://github.com/actions/setup-python.git
synced 2025-07-19 08:08:20 +02:00
Fix.
This commit is contained in:
parent
7fe1ba03a3
commit
ec0a863019
7020 changed files with 1880198 additions and 489 deletions
16
node_modules/lodash/_cloneArrayBuffer.js
generated
vendored
Normal file
16
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