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.
| 9121 | // ::testing::internal namespace, which contains a << operator that |
| 9122 | // sometimes conflicts with the one in STL. |
| 9123 | void PrintBytesInObjectTo(const unsigned char* obj_bytes, size_t count, |
| 9124 | ostream* os) { |
| 9125 | PrintBytesInObjectToImpl(obj_bytes, count, os); |
| 9126 | } |
| 9127 | |
| 9128 | } // namespace internal2 |
| 9129 |
no test coverage detected