8 #ifndef WPIUTIL_WPI_BASE64_H_
9 #define WPIUTIL_WPI_BASE64_H_
14 #include "wpi/StringRef.h"
18 class SmallVectorImpl;
21 size_t Base64Decode(raw_ostream& os, StringRef encoded);
23 size_t Base64Decode(StringRef encoded, std::string* plain);
25 StringRef Base64Decode(StringRef encoded,
size_t* num_read,
26 SmallVectorImpl<char>& buf);
28 void Base64Encode(raw_ostream& os, StringRef plain);
30 void Base64Encode(StringRef plain, std::string* encoded);
32 StringRef Base64Encode(StringRef plain, SmallVectorImpl<char>& buf);
36 #endif // WPIUTIL_WPI_BASE64_H_
namespace to hold default to_json function
Definition: SmallString.h:21