Copy the specified length bytes starting at the specified position in the specified srcBlob to the specified dstBuffer. The behavior of this function is undefined unless 0 <= length, 0 <= position, position <= srcBlob.totalSize() ‐ length, and dstBuffer has room for length bytes. Note that this function does not set dstBuffer[length] to 0.

Synopsis

Declared in <bdlbb_blobutil.h>

static
void
copy(
    char* dstBuffer,
    Blob const& srcBlob,
    int position,
    int length);

Created with MrDocs