5 const size_t uMsCompIdx,
7 const uint32_t uBlocksPerLine) {
8 fles::MicrosliceDescriptor msDescriptor = ts.descriptor(uMsCompIdx, uMsIdx);
9 const uint8_t* msContent =
10 reinterpret_cast<const uint8_t*
>(ts.content(uMsCompIdx, uMsIdx));
17 const uint8_t* msContent,
18 const uint32_t uBlocksPerLine) {
19 uint32_t uMsSize = msDescriptor.size / 4;
20 const uint32_t* pInBuff =
reinterpret_cast<const uint32_t*
>(msContent);
23 ss <<
"Microslice buffer content:" << std::endl << std::setfill(
'0');
24 for (uint32_t uBlock = 0; uBlock < uMsSize; ++uBlock) {
25 ss <<
"0x" << std::hex << std::setw(8) << pInBuff[uBlock] <<
" ";
27 if (uBlocksPerLine - 1 == uBlock % uBlocksPerLine)
28 ss <<
" : " << std::dec << std::setw(4) << uBlock - 1 << std::endl;
30 if (0 < uMsSize % uBlocksPerLine) ss << std::endl;
31 ss << std::dec << std::setfill(
' ');