public function serialize(\fpoirotte\Pssht\Wire\Encoder $encoder) { $encoder->encodeBoolean($this->alwaysDisplay); $encoder->encodeString($this->message); $encoder->encodeString($this->language); return $this; }
public function serialize(\fpoirotte\Pssht\Wire\Encoder $encoder) { $encoder->encodeBytes($this->cookie); $encoder->encodeNameList($this->kexAlgos); $encoder->encodeNameList($this->serverHostKeyAlgos); $encoder->encodeNameList($this->encAlgosC2S); $encoder->encodeNameList($this->encAlgosS2C); $encoder->encodeNameList($this->macAlgosC2S); $encoder->encodeNameList($this->macAlgosS2C); $encoder->encodeNameList($this->compAlgosC2S); $encoder->encodeNameList($this->compAlgosS2C); $encoder->encodeNameList($this->langC2S); $encoder->encodeNameList($this->langS2C); $encoder->encodeBoolean($this->firstKexPacket); $encoder->encodeUint32(0); // Reserved for future extension. return $this; }
public function serialize(\fpoirotte\Pssht\Wire\Encoder $encoder) { $encoder->encodeNameList($this->methods); $encoder->encodeBoolean($this->partial); return $this; }