auto runDecoder this const char argv writeLog MessageType General Offs

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
auto runDecoder = [&,this](const char** argv){
writeLog(MessageType::General, "Offset %d", offset);
ProcessWrapper decoder(argv, data+offset, size-offset, timeout_);
try {
decoder.start();
} catch (std::exception& e){
decodedData = decoder.getData();
throw e;
}
retCode_ = decoder.retCode();
decodedData = decoder.getData();
};