MCPcopy Create free account
hub / github.com/apple/foundationdb / cpBytesAndLengthInner

Function cpBytesAndLengthInner

bindings/java/fdbJNI.cpp:572–578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

570};
571
572void cpBytesAndLengthInner(uint8_t*& pByte, jint*& pLength, const uint8_t* data, const int& length) {
573 *pLength = length;
574 pLength++;
575
576 memcpy(pByte, data, length);
577 pByte += length;
578}
579
580void cpBytesAndLength(uint8_t*& pByte, jint*& pLength, const FDBKey& key) {
581 cpBytesAndLengthInner(pByte, pLength, key.key, key.key_length);

Calls 1

memcpyFunction · 0.85

Tested by

no test coverage detected