/usr/include/osl/misc/base64.h is in libosl-dev 0.8.0-1.4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #ifndef OSL_MISC_BASE64ENCODE_H
#define OSL_MISC_BASE64ENCODE_H
#include <string>
#include <boost/dynamic_bitset.hpp>
namespace osl
{
namespace book
{
class CompactBoard;
}
namespace misc
{
// http://en.wikipedia.org/wiki/Base64
// http://ja.wikipedia.org/wiki/Base64
std::string base64Encode(boost::dynamic_bitset<> src);
boost::dynamic_bitset<> base64Decode(std::string src);
std::string toBase64(const book::CompactBoard&);
book::CompactBoard toCompactBoard(const std::string& str);
} // namespace misc
} // namespace CQ
#endif /* _MISC_UUENCODE_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|