* @brief Analog to @b `std::memcpy`, but with a more efficient implementation. * @param[in] target The pointer to the target memory region. * @param[in] source The pointer to the source memory region. * @param[in] n The number of bytes to copy. * @see https://en.cppreference.com/w/cpp/string/byte/memcpy */
| 102 | * @see https://en.cppreference.com/w/cpp/string/byte/memcpy |
| 103 | */ |
| 104 | inline void memcpy(void *target, void const *source, std::size_t n) noexcept { |
| 105 | return sz_copy(reinterpret_cast<sz_ptr_t>(target), reinterpret_cast<sz_cptr_t>(source), n); |
| 106 | } |
| 107 | |
| 108 | #pragma endregion |
| 109 |
no test coverage detected
searching dependent graphs…