##

Base64.hh
Go to the documentation of this file.
/*
* Copyright (C) 2012 Open Source Robotics Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
#ifndef _BASE_64_HH_
#define _BASE_64_HH_
#include <string>
#include "gazebo/util/system.hh"
GZ_COMMON_VISIBLE
void Base64Encode(const char *_bytesToEncode, unsigned int _len,
std::string &_result);
GZ_COMMON_VISIBLE
std::string Base64Decode(const std::string &_encodedString);
#endif
Base64Encode
void Base64Encode(const char *_bytesToEncode, unsigned int _len, std::string &_result)
Encode a binary string into base 64.
Base64Decode
std::string Base64Decode(const std::string &_encodedString)
Decode a base64 string.
system.hh