WPILibC++  unspecified
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
Base64.h
1 /*----------------------------------------------------------------------------*/
2 /* Copyright (c) FIRST 2015. All Rights Reserved. */
3 /* Open Source Software - may be modified and shared by FRC teams. The code */
4 /* must be accompanied by the FIRST BSD license file in the root directory of */
5 /* the project. */
6 /*----------------------------------------------------------------------------*/
7 
8 #ifndef NT_BASE64_H_
9 #define NT_BASE64_H_
10 
11 #include <cstddef>
12 #include <string>
13 
14 #include "llvm/StringRef.h"
15 
16 namespace nt {
17 
18 std::size_t Base64Decode(llvm::StringRef encoded, std::string* plain);
19 void Base64Encode(llvm::StringRef plain, std::string* encoded);
20 
21 } // namespace nt
22 
23 #endif // NT_BASE64_H_
StringRef - Represent a constant reference to a string, i.e.
Definition: StringRef.h:39