10Duke Enterprise C++ SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
DataSpan.h
1
#ifndef TENDUKE_UTL_DATASPAN_H
2
#define TENDUKE_UTL_DATASPAN_H
3
4
#include <cstddef>
5
6
namespace
tenduke
{
namespace
utl
{
7
15
class
DataSpan
16
{
17
public
:
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
tenduke::utl::DataSpan
A span of binary data.
Definition
DataSpan.h:16
tenduke::utl::DataSpan::data
virtual const unsigned char * data() const =0
Returns a pointer to the beginning of the underlying sequence.
tenduke::utl::DataSpan::size_bytes
virtual std::size_t size_bytes() const =0
Returns the size of the span in bytes.
tenduke::utl
Utilities.
Definition
Base64Decoder.h:10
tenduke
Root for classes, functions and globals of 10Duke C++ Client.
Definition
APIRequest.h:4
core
core
src
utl
DataSpan.h
Generated by
1.17.0