"use strict";var key,buffer=require("buffer"),Buffer=buffer.Buffer,safer=require("./safer.js"),Safer=safer.Buffer,dangerous={};for(key in safer)safer.hasOwnProperty(key)&&(dangerous[key]=safer[key]);var Dangereous=dangerous.Buffer={};for(key in Safer)Safer.hasOwnProperty(key)&&(Dangereous[key]=Safer[key]);for(key in Buffer)Buffer.hasOwnProperty(key)&&(Dangereous.hasOwnProperty(key)||(Dangereous[key]=Buffer[key]));Dangereous.allocUnsafe||(Dangereous.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');return Buffer(e)}),Dangereous.allocUnsafeSlow||(Dangereous.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');return buffer.SlowBuffer(e)}),module.exports=dangerous;