code: function finishMessage() {
      if (parser.tag_ < Parser.PADDING_TAG_) {
        var message = {};
        message[parser.tag_] = parser.messageBuffer_;
        parser.result_.push(message);
      }
      parser.state_ = Parser.State_.INIT;
    }
docs: Finishes up building the current message and resets parser state