10Duke Enterprise C++ SDK
Loading...
Searching...
No Matches
DataSpan.h
1#ifndef TENDUKE_UTL_DATASPAN_H
2#define TENDUKE_UTL_DATASPAN_H
3
4#include <cstddef>
5
6namespace tenduke { namespace utl {
7
16{
17public:
18 virtual ~DataSpan() = default;
19
23 virtual const unsigned char * data() const = 0;
24
29 virtual std::size_t size_bytes() const = 0;
30};
31
32}}
33
34#endif //TENDUKE_UTL_DATASPAN_H
A span of binary data.
Definition DataSpan.h:16
virtual const unsigned char * data() const =0
Returns a pointer to the beginning of the underlying sequence.
virtual std::size_t size_bytes() const =0
Returns the size of the span in bytes.
Utilities.
Definition Base64Decoder.h:10
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4