Files
SLikeNet/Source/include/slikenet/Base64Encoder.h
2025-11-24 14:19:51 +05:30

27 lines
706 B
C

/*
* Copyright (c) 2014, Oculus VR, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* RakNet License.txt file in the licenses directory of this source tree. An additional grant
* of patent rights can be found in the RakNet Patents.txt file in the same directory.
*
*/
#ifndef __BASE_64_ENCODER_H
#define __BASE_64_ENCODER_H
#include "Export.h"
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