src/opencl/openclwrapper.cpp
static ds_status deserializeScore(ds_device *device, const uint8_t *serializedScore,
                                  unsigned int serializedScoreSize) {
  // check that serializedScoreSize == sizeof(TessDeviceScore);
  device->score = new TessDeviceScore;
  memcpy(device->score, serializedScore, serializedScoreSize);
  return DS_SUCCESS;
}
// parses byte string and stores in score object
parses byte string and stores in score object
parses byte string and stores in score object
static ds_status deserializeScore(ds_device *device, const uint8_t *serializedScore,
                                  unsigned int serializedScoreSize) {
  device->score = new TessDeviceScore;
  memcpy(device->score, serializedScore, serializedScoreSize);
  return DS_SUCCESS;
}
static ds_status deserializeScore ( ds_device * device , const uint8_t * serializedScore , unsigned int serializedScoreSize ) { device -> score = new TessDeviceScore ; memcpy ( device -> score , serializedScore , serializedScoreSize ) ; return DS_SUCCESS ; }
parses byte string and stores in score object
parses byte string and stores in score object
// check that serializedScoreSize == sizeof(TessDeviceScore);