cpp-bencoding
|
Implementation of the utilities. More...
#include "Utils.h"
Namespaces | |
bencoding | |
Main namespace of the bencoding library. | |
Functions | |
Data Reading | |
bool | bencoding::readUpTo (std::istream &stream, std::string &readData, char sentinel) |
Reads data from the given stream up to sentinel, which is left in stream. More... | |
bool | bencoding::readUntil (std::istream &stream, std::string &readData, char last) |
Reads data from the given stream until last, which is also read. More... | |
String Operations | |
std::string | bencoding::replace (const std::string &str, char what, const std::string &withWhat) |
Replaces all occurrences of what with withWhat in str and returns the resulting string. More... | |
Implementation of the utilities.
LICENSE
file for more details