Refactor BinaryTable file handling to use C-style file operations and improve memory management

This commit is contained in:
ImBenji
2025-10-12 16:04:23 +01:00
parent b15d11a5a4
commit 75d682a41d
6 changed files with 421 additions and 626 deletions

View File

@@ -15,6 +15,7 @@ int main() {
std::cout << "1. Storing key1..." << std::endl;
table.set<int32_t>("key1", 100);
table.debugAddressTable("after key1");
std::cout << "2. Reading key1..." << std::endl;
try {
@@ -26,6 +27,7 @@ int main() {
std::cout << "3. Storing key2..." << std::endl;
table.set<int32_t>("key2", 200);
table.debugAddressTable("after key2");
std::cout << "4. Reading key2..." << std::endl;
try {