MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / DisplayDecodedData

Method DisplayDecodedData

src/gui/fluxviewercontrol.cc:632–647  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

630}
631
632void FluxViewerControl::DisplayDecodedData(std::shared_ptr<const Sector> sector)
633{
634 std::stringstream s;
635
636 auto title = fmt::format("User data for c{}.h{}.s{}",
637 sector->logicalCylinder,
638 sector->logicalHead,
639 sector->logicalSector);
640 s << title << '\n';
641 dumpSectorMetadata(s, sector);
642 s << '\n';
643
644 hexdump(s, sector->data);
645
646 TextViewerWindow::Create(this, title, s.str())->Show();
647}
648
649void FluxViewerControl::DisplaySectorSummary(
650 std::shared_ptr<const Sector> sector)

Callers

nothing calls this directly

Calls 2

dumpSectorMetadataFunction · 0.85
hexdumpFunction · 0.85

Tested by

no test coverage detected