BloombergLP::bdlbb::OutBlobStreamBuf::OutBlobStreamBuf

Create an OutBlobStreamBuf using the specified blob.

Synopsis

Declared in <bdlbb_blobstreambuf.h>

explicit
OutBlobStreamBuf(bdlbb::Blob* blob);

Description

Create a OutBlobStreamBuf using the specified blob, and set the location at which the next write operation will occur to blob->length(). The behavior is undefined unless blob remains valid and externally unmodified for the lifetime of this streambuf.

Parameters

NameDescription
blobblob to hold and write to