Implement BufferBlock

This commit is contained in:
2020-05-26 21:21:15 +02:00
parent 04a467c2b4
commit 9940f54e1a
3 changed files with 17 additions and 24 deletions
-20
View File
@@ -1,20 +0,0 @@
#ifndef JFFILEFORMAT_HPP
#define JFFILEFORMAT_HPP
#include "jungfrau.hpp"
const char JF_FORMAT_START_BYTE = 0xBE;
#pragma pack(push)
#pragma pack(1)
struct BufferBinaryFormat {
BufferBinaryFormat() : FORMAT_MARKER(JF_FORMAT_START_BYTE) {};
const char FORMAT_MARKER;
ModuleFrame metadata;
char data[JUNGFRAU_DATA_BYTES_PER_FRAME];
};
#pragma pack(pop)
#endif // JFFILEFORMAT_HPP
+1 -1
View File
@@ -11,7 +11,7 @@
#include <sys/resource.h>
#include <syscall.h>
#include <zconf.h>
#include <BufferBinaryFormat.hpp>
#include "formats.hpp"
using namespace std;
using namespace core_buffer;