struct RetObj

#include "types.hpp"

Define data struct which contains the scan error code and pointer which points to the location of result

// fields

ErrorCode status
char* data
size_t size