Delegates to PrintBytesInObjectToImpl() to print the bytes in the given object. The delegation simplifies the implementation, which uses the << operator and thus is easier done outside of the ::testing::internal namespace, which contains a << operator that sometimes conflicts with the one in STL.
| 8661 | // ::testing::internal namespace, which contains a << operator that |
| 8662 | // sometimes conflicts with the one in STL. |
| 8663 | void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, |
| 8664 | ostream* os) { |
| 8665 | PrintBytesInObjectToImpl(obj_bytes, count, os); |
| 8666 | } |
| 8667 | |
| 8668 | } // namespace internal2 |
| 8669 |
no test coverage detected