remove data copy from reader class

This commit is contained in:
Henny022p
2021-11-27 07:53:11 +01:00
parent 9e9dc07d23
commit 9cc2fcf9ea
5 changed files with 26 additions and 33 deletions
+1
View File
@@ -1,3 +1,4 @@
#include "util/types.h"
#include "util/file.h"
int main() {
+15
View File
@@ -0,0 +1,15 @@
#ifndef TOOLS_TYPES_H
#define TOOLS_TYPES_H
#include <cstdint>
using s8 = int8_t;
using u8 = uint8_t;
using s16 = int16_t;
using u16 = uint16_t;
using s32 = int32_t;
using u32 = uint32_t;
using s64 = int64_t;
using u64 = uint64_t;
#endif // TOOLS_TYPES_H