appendBufferIfValid overloads
Synopses
Declared in <bdlbb_blobutil.h>
Append the specified move‐insertable buffer after the last buffer of the specified dest if neither the resulting total size of dest nor its resulting total number of buffers exceeds INT_MAX. Return 0 on success, and a non‐zero value (with no effect) otherwise. The length of the dest is unaffected. In case of success the buffer is left in a valid but unspecified state.
static
int
appendBufferIfValid(
Blob* dest,
bslmf::MovableRef<BlobBuffer> buffer);
Append the specified buffer after the last buffer of the specified dest if neither the resulting total size of dest nor its resulting total number of buffers exceeds INT_MAX. Return 0 on success, and a non‐zero value (with no effect) otherwise. The length of the dest is unaffected.
static
int
appendBufferIfValid(
Blob* dest,
BlobBuffer const& buffer);
Created with MrDocs