tag.php
public function write($encoding)
    {
        if ($this->getName()) {
            $encoding->add($this->getName(), $this->getValue());
        }
    }
public function write($encoding)
    {
        if ($this->getName()) {
            $encoding->add($this->getName(), $this->getValue());
        }
    }
Dispatches the value into the form encoded packet.

@param SimpleEncoding $encoding    Form packet.