\class cmBase32Encoder * \brief Encodes a byte sequence to a Base32 byte sequence according to * RFC4648 * */
| 13 | * |
| 14 | */ |
| 15 | class cmBase32Encoder |
| 16 | { |
| 17 | public: |
| 18 | static char const paddingChar = '='; |
| 19 | |
| 20 | cmBase32Encoder(); |
| 21 | ~cmBase32Encoder() = default; |
| 22 | |
| 23 | // Encodes the given input byte sequence into a string |
| 24 | // @arg input Input data pointer |
| 25 | // @arg len Input data size |
| 26 | // @arg padding Flag to append "=" on demand |
| 27 | std::string encodeString(unsigned char const* input, size_t len, |
| 28 | bool padding = true); |
| 29 | }; |
no outgoing calls
no test coverage detected
searching dependent graphs…