Write-Host "Matrix ($rowsRead x $colsRead): $matrix"
[rows:4 bytes][cols:4 bytes][data: rows×cols × element_size] matrix regedit
[Guide] The "Matrix Regedit" - How to safely apply visual hacks without bricking your PC Store matrix dimensions (rows
RegSetValueExW(hKey, valueName, 0, REG_BINARY, buffer.data(), (DWORD)totalSize); RegCloseKey(hKey); matrix regedit
Store matrix dimensions (rows, cols) and element values in a single REG_BINARY value.