Fledge
An open source edge computing platform for industrial users
base64databuffer.h
1
#ifndef _BASE64_DATA_BUFFER_H_
2
#define _BASE64_DATA_BUFFER_H_
3
/*
4
* Fledge Base64DataBuffer encoding
5
*
6
* Copyright (c) 2021 Dianomic Systems
7
*
8
* Released under the Apache 2.0 Licence
9
*
10
* Author: Mark Riddoch
11
*/
12
#include <databuffer.h>
13
#include <string>
14
#include <stdexcept>
15
#include <base64.h>
16
22
class
Base64DataBuffer
:
public
DataBuffer
{
23
24
public
:
25
Base64DataBuffer
(
const
std::string& encoded);
26
std::string
encode
();
27
};
28
#endif
Base64DataBuffer::encode
std::string encode()
Base 64 encode the DataBuffer.
Definition:
base64databuffer.cpp:60
Base64DataBuffer
The Base64DataBuffer class provide functionality on top of the simple DataBuffer class that is used t...
Definition:
base64databuffer.h:22
Base64DataBuffer::Base64DataBuffer
Base64DataBuffer(const std::string &encoded)
Construct a DataBuffer by decoding a Base64 encoded buffer.
Definition:
base64databuffer.cpp:17
DataBuffer
Buffer type for storage of arbitrary buffers of data within a datapoint.
Definition:
databuffer.h:19
C
common
include
base64databuffer.h
Generated by
1.8.17