![]() |
Mangrove
The C++ Object Document Mapper for MongoDB
|
An input streambuf that uses an existing byte array as a buffer. More...
#include <bson_streambuf.hpp>
Public Member Functions | |
char_array_streambuf (const char *data, size_t len) | |
Create a streambuf around the given byte array. More... | |
An input streambuf that uses an existing byte array as a buffer.
boson::char_array_streambuf::char_array_streambuf | ( | const char * | data, |
size_t | len | ||
) |
Create a streambuf around the given byte array.
The caller is responsible for maintaining the lifetime of the underlying data.
data | A pointer to the data to be read |
len | The length of the data |