code: function object(obj) {
    var buffers = []
      , buf
      , k
      , v
      , len = 0;
    for(k in obj) {
      buf = this.getStringBuffer(k);
      len += buf.length;
      buffers.push(buf);
  
      buf = this.getStringBuffer(obj[k]);
      len += buf.length;
      buffers.push(buf);
    }
    return Buffer.concat(buffers, len);
  }
docs: Get a buffer from an object.