public function encode() { $this->reset(); $this->putString($this->commands); $this->putString($this->unknown); }