Medial Code Documentation
|
A pipeline file reader, use 2 threads, one read block from file, the other process the block. More...
#include <pipeline_reader.h>
Static Public Member Functions | |
static size_t | Read (const char *filename, int skip_bytes, const std::function< size_t(const char *, size_t)> &process_fun) |
Read data from a file, use pipeline methods. | |
A pipeline file reader, use 2 threads, one read block from file, the other process the block.
|
inlinestatic |
Read data from a file, use pipeline methods.
filename | Filename of data \process_fun Process function |