|
unilink
0.4.3
A simple C++ library for unified async communication
|
#include <cstdint>#include <functional>#include <memory>#include <stdexcept>#include <string>#include <string_view>#include <type_traits>#include <vector>#include "unilink/base/visibility.hpp"#include "unilink/memory/safe_span.hpp"Go to the source code of this file.
Classes | |
| class | unilink::memory::SafeDataBuffer |
| Safe data buffer for type-safe data transfer. More... | |
Namespaces | |
| unilink | |
| unilink::memory | |
| unilink::memory::safe_buffer_factory | |
| Factory functions for creating SafeDataBuffer instances. | |
Typedefs | |
| using | unilink::memory::SafeDataHandler = std::function< void(const SafeDataBuffer &)> |
| Safe data handler type for callbacks. More... | |
Functions | |
| SafeDataBuffer | unilink::memory::safe_buffer_factory::from_string (const std::string &str) |
| SafeDataBuffer | unilink::memory::safe_buffer_factory::from_c_string (const char *str) |
| SafeDataBuffer | unilink::memory::safe_buffer_factory::from_vector (const std::vector< uint8_t > &vec) |
| SafeDataBuffer | unilink::memory::safe_buffer_factory::from_raw_data (const uint8_t *data, size_t size) |
| SafeDataBuffer | unilink::memory::safe_buffer_factory::from_span (ConstByteSpan span) |