tesseract v5.3.3.20231005
testing::internal::RawBytesPrinter Struct Reference

#include <gtest-printers.h>

Static Public Member Functions

template<typename T , size_t = sizeof(T)>
static void PrintValue (const T &value, ::std::ostream *os)
 

Detailed Description

Definition at line 266 of file gtest-printers.h.

Member Function Documentation

◆ PrintValue()

template<typename T , size_t = sizeof(T)>
static void testing::internal::RawBytesPrinter::PrintValue ( const T &  value,
::std::ostream *  os 
)
inlinestatic

Definition at line 269 of file gtest-printers.h.

269 {
271 static_cast<const unsigned char*>(
272 // Load bearing cast to void* to support iOS
273 reinterpret_cast<const void*>(std::addressof(value))),
274 sizeof(value), os);
275 }
int value
GTEST_API_ void PrintBytesInObjectTo(const unsigned char *obj_bytes, size_t count, ::std::ostream *os)

The documentation for this struct was generated from the following file: