lib/buffer.js
function emptyBuffer(bytes) {
    $.checkArgumentType(bytes, 'number', 'bytes');
    var result = new buffer.Buffer(bytes);
    for (var i = 0; i < bytes; i++) {
      result.write('\0', i);
    }
    return result;
  }
function emptyBuffer(bytes) {
    $.checkArgumentType(bytes, 'number', 'bytes');
    var result = new buffer.Buffer(bytes);
    for (var i = 0; i < bytes; i++) {
      result.write('\0', i);
    }
    return result;
  }
function emptyBuffer ( bytes ) { $ . checkArgumentType ( bytes , 'number' , 'bytes' ) ; var result = new buffer . Buffer ( bytes ) ; for ( var i = 0 ; i < bytes ; i ++ ) { result . write ( '\0' , i ) ; } return result ; }
Returns a zero-filled byte array

@param {number} bytes
@return {Buffer}
Returns a zero - filled byte array