lib/containers.js
function copyBuffer(buf, pos, len) {
  var copy = utils.newBuffer(len);
  buf.copy(copy, 0, pos, pos + len);
  return copy;
}
function copyBuffer(buf, pos, len) {
  var copy = utils.newBuffer(len);
  buf.copy(copy, 0, pos, pos + len);
  return copy;
}
function copyBuffer ( buf , pos , len ) { var copy = utils . newBuffer ( len ) ; buf . copy ( copy , 0 , pos , pos + len ) ; return copy ; }
Copy a buffer. This avoids creating a slice of the original buffer.
Copy a buffer . This avoids creating a slice of the original buffer .