Base64Encoder.h 680 B

1234567891011121314151617181920212223242526
  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. * LICENSE file in the root directory of this source tree. An additional grant
  7. * of patent rights can be found in the PATENTS file in the same directory.
  8. *
  9. */
  10. #ifndef __BASE_64_ENCODER_H
  11. #define __BASE_64_ENCODER_H
  12. #include "Export.h"
  13. extern "C" {
  14. /// \brief Returns how many bytes were written.
  15. // outputData should be at least the size of inputData * 2 + 6
  16. int Base64Encoding(const unsigned char *inputData, int dataLength, char *outputData);
  17. }
  18. extern "C" {
  19. const char *Base64Map(void);
  20. }
  21. #endif
粤ICP备19079148号