SLikeNet  0.1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Base64Encoder.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014, Oculus VR, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * RakNet License.txt file in the licenses directory of this source tree. An additional grant
7  * of patent rights can be found in the RakNet Patents.txt file in the same directory.
8  *
9  */
10 
11 #ifndef __BASE_64_ENCODER_H
12 #define __BASE_64_ENCODER_H
13 
14 #include "Export.h"
15 
16 extern "C" {
18 // outputData should be at least the size of inputData * 2 + 6
19 int Base64Encoding(const unsigned char *inputData, int dataLength, char *outputData);
20 }
21 
22 extern "C" {
23 const char *Base64Map(void);
24 }
25 
26 #endif