Library: MongoDB
Package: MongoDB
Header: Poco/MongoDB/Binary.h
Implements BSON Binary. It's a wrapper around a Poco::Buffer<unsigned char>.
Member Functions: buffer, subtype, toString
typedef SharedPtr < Binary > Ptr;
Binary();
Constructor
Binary(
Poco::Int32 size,
unsigned char subtype
);
Constructor
virtual ~Binary();
Destructor
Buffer < unsigned char > & buffer();
Returns a reference to the buffer
unsigned char subtype() const;
Returns the subtype
void subtype(
unsigned char type
);
Sets the subtype
std::string toString(
int indent = 0
) const;
Returns the binary encoded in Base64