| 92 | } |
| 93 | |
| 94 | void swap(void* _a, void* _b, size_t _numBytes) |
| 95 | { |
| 96 | uint8_t* lhs = (uint8_t*)_a; |
| 97 | uint8_t* rhs = (uint8_t*)_b; |
| 98 | const uint8_t* end = rhs + _numBytes; |
| 99 | while (rhs != end) |
| 100 | { |
| 101 | swap(*lhs++, *rhs++); |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | void memCopyRef(void* _dst, const void* _src, size_t _numBytes) |
| 106 | { |
no outgoing calls
no test coverage detected