prependDataBufferIfValid overloads

Synopses

Declared in <bdlbb_blobutil.h>

Prepend a moved data buffer to dest if size limits allow.

Prepend a data buffer to dest if size limits allow.

static
int
prependDataBufferIfValid(
    Blob* dest,
    BlobBuffer const& buffer);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

dest

destination blob

buffer

data buffer to move‐prepend

Created with MrDocs