|
unilink
0.4.3
A simple C++ library for unified async communication
|
Factory functions for creating SafeDataBuffer instances. More...
Functions | |
| SafeDataBuffer | from_string (const std::string &str) |
| SafeDataBuffer | from_c_string (const char *str) |
| SafeDataBuffer | from_vector (const std::vector< uint8_t > &vec) |
| SafeDataBuffer | from_raw_data (const uint8_t *data, size_t size) |
| SafeDataBuffer | from_span (ConstByteSpan span) |
Factory functions for creating SafeDataBuffer instances.
| SafeDataBuffer unilink::memory::safe_buffer_factory::from_c_string | ( | const char * | str | ) |
Definition at line 127 of file safe_data_buffer.cc.
| SafeDataBuffer unilink::memory::safe_buffer_factory::from_raw_data | ( | const uint8_t * | data, |
| size_t | size | ||
| ) |
Definition at line 136 of file safe_data_buffer.cc.
| SafeDataBuffer unilink::memory::safe_buffer_factory::from_span | ( | ConstByteSpan | span | ) |
Definition at line 138 of file safe_data_buffer.cc.
| SafeDataBuffer unilink::memory::safe_buffer_factory::from_string | ( | const std::string & | str | ) |
Definition at line 125 of file safe_data_buffer.cc.
| SafeDataBuffer unilink::memory::safe_buffer_factory::from_vector | ( | const std::vector< uint8_t > & | vec | ) |
Definition at line 134 of file safe_data_buffer.cc.