We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2593fa5 commit 30e5bf7Copy full SHA for 30e5bf7
1 file changed
include/msgpack/v1/object.hpp
@@ -470,7 +470,9 @@ struct object_stringize_visitor {
470
// <barretenberg> print binary strings in hex
471
m_os << "\"BIN(size:" << size << "): 0x";
472
for (uint32_t i = 0; i < size; ++i) {
473
+ std::ios::fmtflags flags(m_os.flags());
474
m_os << std::hex << std::setw(2) << std::setfill('0') << static_cast<int>(static_cast<unsigned char>(v[i]));
475
+ m_os.flags(flags);
476
}
477
m_os << "\"";
478
// </barrenteberg>
0 commit comments