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.
| 112 | // ::testing::internal namespace, which contains a << operator that |
| 113 | // sometimes conflicts with the one in STL. |
| 114 | void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, |
| 115 | ostream* os) { |
| 116 | PrintBytesInObjectToImpl(obj_bytes, count, os); |
| 117 | } |
| 118 | |
| 119 | } // namespace internal2 |
| 120 |
no test coverage detected