microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Public Attributes | List of all members
microfmt::memory_diff_view Struct Reference

Non-owning view representing a byte-level comparison between two memory regions. More...

#include <memory_diff.hpp>

Collaboration diagram for microfmt::memory_diff_view:
Collaboration graph
[legend]

Public Attributes

span< const std::byte > old_data
 
span< const std::byte > new_data
 
uintptr_t base_address {0}
 
uint8_t bytes_per_row {16}
 

Detailed Description

Non-owning view representing a byte-level comparison between two memory regions.

Designed for crash diagnostics, memory corruption tracing, and buffer delta inspection without dynamic allocations or temporary string building.

Member Data Documentation

◆ base_address

uintptr_t microfmt::memory_diff_view::base_address {0}

◆ bytes_per_row

uint8_t microfmt::memory_diff_view::bytes_per_row {16}

◆ new_data

span<const std::byte> microfmt::memory_diff_view::new_data

◆ old_data

span<const std::byte> microfmt::memory_diff_view::old_data

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