Go to the SVN repository for this file.
37 #include <corelib/ncbi_base64.h> 48 for(
size_t i= 0; cstrings[
i];
i++) {
77 if(0 ==
count.count(*itStr))
89out_str += iter->first;
100 size_tsrc_size =
str.size();
102 size_tptr = 0, src_read, dst_written, line_len = 0;
103 while(src_size > 0) {
105dst_buf,
sizeof(dst_buf), &dst_written, &line_len);
107src_size -= src_read;
108encoded +=
string(dst_buf, dst_written);
115 size_tsrc_size =
str.size();
118 size_tptr = 0, src_read, dst_written;
119 while(src_size > 0) {
120 if(!
BASE64_Decode(&
str[ptr], src_size, &src_read, dst_buf,
sizeof(dst_buf), &dst_written))
123src_size -= src_read;
124decoded +=
string(dst_buf, dst_written);
static DLIST_TYPE *DLIST_NAME() first(DLIST_LIST_TYPE *list)
static const char * str(char *buf, int n)
static const char *const strings[]
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
static string FormatStringsOccurrences(const std::vector< string > &strings, const string &delimiter=", ")
static string ConcatenateStrings(const std::vector< string > &strings, const string &delimiter=", ")
static string BuildString(const char *cstrings[])
Concatenate a bunch of C-stype strings into one string.
static string base64Decode(const string &str)
static string base64Encode(const string &str)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static enable_if< is_arithmetic< TNumeric >::value||is_convertible< TNumeric, Int8 >::value, string >::type NumericToString(TNumeric value, TNumToStringFlags flags=0, int base=10)
Convert numeric value to string.
static const char delimiter[]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4