| 1367 | } |
| 1368 | |
| 1369 | void memcpyStringInner(uint8_t* buffer, int& offset, const uint8_t* data, const int& length) { |
| 1370 | memcpy(buffer + offset, &length, sizeof(jint)); |
| 1371 | offset += sizeof(jint); |
| 1372 | memcpy(buffer + offset, data, length); |
| 1373 | offset += length; |
| 1374 | } |
| 1375 | |
| 1376 | void memcpyString(uint8_t* buffer, int& offset, const FDBKey& key) { |
| 1377 | memcpyStringInner(buffer, offset, key.key, key.key_length); |
no test coverage detected