| 282 | //------------------------------------------------------------------------------------------------- |
| 283 | template <typename T> |
| 284 | void XBuffer<T>::ncpy(const void *buf, size_t len) |
| 285 | { |
| 286 | if ( buf && len > 0 ) { |
| 287 | setSize(len); |
| 288 | memcpy(data(), buf, len); |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | template <typename T> |
| 293 | void XBuffer<T>::ncat(const void *buf, size_t len) |
no test coverage detected