| 647 | /// is serialized. |
| 648 | template <class T> |
| 649 | void SerializeToBuffer(const T* obj, uint32_t* len, uint8_t** buffer) { |
| 650 | SerializeObject(obj); |
| 651 | mem_buffer_->getBuffer(buffer, len); |
| 652 | } |
| 653 | |
| 654 | template <class T> |
| 655 | void SerializeToString(const T* obj, std::string* result) { |
no outgoing calls
no test coverage detected