now it has crc checks and uncompression is good now

This commit is contained in:
Luna 2025-07-06 14:28:35 +02:00
parent 2fbdd1e43d
commit a1f2a6d1af
4 changed files with 41 additions and 12 deletions

View file

@ -2,6 +2,7 @@
#include "file_reader/src/file_read.h"
#include <string>
#include <zlib.h>
struct metadata
{
@ -14,4 +15,4 @@ struct metadata
char interface;
};
buffer read_png(const std::string &file_path);
buffer_unsigned read_png(const std::string &file_path);