|
MySQL Connector/C++ 9.5.0
MySQL connector library for C and C++ applications
|
Class representing a region of memory holding raw bytes. More...
Class representing a region of memory holding raw bytes.
Method begin() returns pointer to the first byte in the region, end() to one past the last byte in the region.
bytes does not store the bytes - it merely describes a region of memory and is equivalent to a pair of pointers. It is very cheap to copy bytes and pass them by value.bytes instance by buffer returned from std::get_temporary_buffer(), as follows:bytes buf = std::get_temporary_buffer<byte>(size);