45        $this->reason = VarInt::readSignedInt($in);
 
   46        $skipMessage = CommonTypes::getBool($in);
 
   47        $this->message = $skipMessage ? null : CommonTypes::getString($in);
 
   48        $this->filteredMessage = $skipMessage ? null : CommonTypes::getString($in);
 
 
   52        VarInt::writeSignedInt($out, $this->reason);
 
   53        CommonTypes::putBool($out, $skipMessage = $this->message === 
null && $this->filteredMessage === 
null);
 
   55            CommonTypes::putString($out, $this->message ?? 
"");
 
   56            CommonTypes::putString($out, $this->filteredMessage ?? 
"");