import _root_default from "./_root.js";
var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports, freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module, Buffer = freeModule && freeModule.exports === freeExports ? _root_default.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
function cloneBuffer(e, i) {
	if (i) return e.slice();
	var a = e.length, o = allocUnsafe ? allocUnsafe(a) : new e.constructor(a);
	return e.copy(o), o;
}
var _cloneBuffer_default = cloneBuffer;
export { _cloneBuffer_default as default };
