lib/composer.js
function(opts) {
  EventEmitter.call(this);

  opts = opts || {};
  this.maxLength = opts.maxLength || DEFAULT_MAX_LENGTH;

  this.offset = 0;
  this.left = 0;
  this.length = 0;
  this.buf = null;

  this.state = ST_LENGTH;
}
function(opts) {
  EventEmitter.call(this);

  opts = opts || {};
  this.maxLength = opts.maxLength || DEFAULT_MAX_LENGTH;

  this.offset = 0;
  this.left = 0;
  this.length = 0;
  this.buf = null;

  this.state = ST_LENGTH;
}
function ( opts ) { EventEmitter . call ( this ) ; opts = opts || { } ; this . maxLength = opts . maxLength || DEFAULT_MAX_LENGTH ; this . offset = 0 ; this . left = 0 ; this . length = 0 ; this . buf = null ; this . state = ST_LENGTH ; }
state that something wrong has happened
state that something wrong has happened