#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <utility>
#include <cstdint>
#include <filesystem>
Go to the source code of this file.
◆ helpMessage()
Definition at line 48 of file DecodeSCT.cxx.
49 std::cout<<
"'DecodeSCT' takes exactly one argument, the bytestream filename." <<std::endl;
◆ main()
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 53 of file DecodeSCT.cxx.
60 std::cerr <<
argv[1] <<
" does not exist."<<std::endl;
64 printf(
"Length: %lu\n",
length);
67 perror(
"File open failed");
73 perror(
"mmap failed");
79 while(findNextEvent(
begin,
end, endBuffer, 0xee1234ee)) {
◆ str()
std::string str |
( |
const char * |
word | ) |
|
|
inline |