protected function decode($binary) { $hex = bin2hex($binary); $this->signature = MBString::chr(hexdec(substr($hex, 0, 2))); $this->userPrivilege = hexdec(substr($hex, 2, 2)); $this->callbackPhoneNumber = substr($hex, 4, 48); }