* Derive the .b32.i2p address of an I2P destination (I2P-style Base64). * @param[in] dest I2P destination. * @return the address that corresponds to `dest` * @throw std::runtime_error if conversion fails */
| 106 | * @throw std::runtime_error if conversion fails |
| 107 | */ |
| 108 | static CNetAddr DestB64ToAddr(const std::string& dest) |
| 109 | { |
| 110 | const Binary& decoded = DecodeI2PBase64(dest); |
| 111 | return DestBinToAddr(decoded); |
| 112 | } |
| 113 | |
| 114 | namespace sam { |
| 115 |
no test coverage detected