CasperSecurity

Current Path : /var/www/hrms.uiet.co.in/node_modules/buffer/test/node/
Upload File :
Current File : /var/www/hrms.uiet.co.in/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js

'use strict';
var Buffer = require('../../').Buffer;



var assert = require('assert');


function testUint8Array(ui) {
  var length = ui.length;
  for (var i = 0; i < length; i++)
    if (ui[i] !== 0) return false;
  return true;
}


for (var i = 0; i < 100; i++) {
  Buffer.alloc(0);
  var ui = new Uint8Array(65);
  assert.ok(testUint8Array(ui), 'Uint8Array is not zero-filled');
}

Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY