Read bytes from a stream into a blob.
Declared in <bdlbb_blobutil.h>
template<class STREAM>
static
STREAM&
read(
STREAM& stream,
Blob* dest,
int numBytes);
Read the specified numBytes from the specified stream and load it into the specified dest, and return a reference to the modifiable stream.
reference to the modifiable stream
| Name | Description |
|---|---|
| stream | input stream |
| dest | destination blob |
| numBytes | number of bytes to read |