Files
libnative-utilities/include/raknet/Base64Encoder.hpp
ecpvint 4485f045ca init
2024-08-15 18:40:30 +08:00

27 lines
656 B
C++

/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
*/
#ifndef __BASE_64_ENCODER_H
#define __BASE_64_ENCODER_H
#include "Export.hpp"
extern "C" {
/// \brief Returns how many bytes were written.
// outputData should be at least the size of inputData * 2 + 6
int Base64Encoding(const unsigned char *inputData, int dataLength, char *outputData);
}
extern "C" {
const char *Base64Map(void);
}
#endif