API Documentation
Loading...
Searching...
No Matches
Base64Encoder.h
Go to the documentation of this file.
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Buffer.h>
4#include <NDEVR/BaseValues.h>
5namespace NDEVR
6{
7 class File;
8 class String;
9 /**--------------------------------------------------------------------------------------------------
10 Class: ApplicationResource
11
12 \brief Functions for converting to and from Base64 https://en.wikipedia.org/wiki/Base64
13 *-----------------------------------------------------------------------------------------------**/
15 {
16 public:
17 static String EncodeToBase64(File file);
18 static String EncodeToBase64(const uint01* buf, uint04 size);
19 static uint04 pos_of_char(const uint01 chr);
20 static Buffer<uint01> DecodeFromBase64(String encoded_string, bool remove_linebreaks);
21 };
22}
#define NDEVR_BASE_API
Definition DLLInfo.h:78
Functions for converting to and from Base64 https://en.wikipedia.org/wiki/Base64.
Definition Base64Encoder.h:15
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition File.h:47
Definition String.h:40
Definition ACIColor.h:37
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120