|
unilink
0.4.3
A simple C++ library for unified async communication
|
Functions | |
| void | safe_memcpy (uint8_t *dest, const uint8_t *src, size_t size) |
| Safely copy memory with bounds checking. More... | |
| void | safe_memcpy (char *dest, const char *src, size_t size) |
| Safely copy memory with bounds checking (overloaded for char*) More... | |
|
inline |
Safely copy memory with bounds checking (overloaded for char*)
| dest | Destination buffer |
| src | Source buffer |
| size | Number of bytes to copy |
| std::invalid_argument | if parameters are invalid |
Definition at line 133 of file common.hpp.
|
inline |
Safely copy memory with bounds checking.
| dest | Destination buffer |
| src | Source buffer |
| size | Number of bytes to copy |
| std::invalid_argument | if parameters are invalid |
Definition at line 109 of file common.hpp.