raklib\protocol\Packet::decode PHP Method

decode() public method

public decode ( )
    public function decode()
    {
        $this->offset = 1;
    }

Usage Example

 public function decode()
 {
     parent::decode();
     $this->clientID = Binary::readLong($this->get(8));
     $this->session = Binary::readLong($this->get(8));
     $this->unknown = $this->get(1);
 }
All Usage Examples Of raklib\protocol\Packet::decode