code: function(x) {
    var len, i;
    if (x instanceof Buffer) { // Copy
      this.buf = new Buffer(x.length);
      x.copy(this.buf);
    } else if (x instanceof BitBuffer) {
      this.buf = new Buffer(x.buf.length);
      x.buf.copy(this.buf);
    } else { // Size
      if (typeof(x) === 'number') { // Size
        len = x;
      } else {
        len = 128;
      }
      this.buf = new Buffer(len / 8);
      // Zero the buffer before use.
      len = this.buf.length;
      for (i = 0; i < len; i += 1) {
        this.buf[i] = 0;
      }
    }
  }
docs: The constructor for a BitBuffer class
  @constructor
  
  @param {*} x a buffer, a bitbuffer, a size, or nothing.