MCPcopy Create free account
hub / github.com/chrxh/alien / wrapGenome

Method wrapGenome

source/PersisterInterface/SerializerService.cpp:1486–1491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1484}
1485
1486bool SerializerService::wrapGenome(ClusteredDataDescription& output, std::vector<uint8_t> const& input)
1487{
1488 output.clear();
1489 output.addCluster(ClusterDescription().addCell(CellDescription().setCellFunction(ConstructorDescription().setGenome(input))));
1490 return true;
1491}
1492
1493
1494bool SerializerService::unwrapGenome(std::vector<uint8_t>& output, ClusteredDataDescription const& input)

Callers

nothing calls this directly

Calls 6

addCellMethod · 0.80
setGenomeMethod · 0.80
ClusterDescriptionClass · 0.50
CellDescriptionClass · 0.50
clearMethod · 0.45

Tested by

no test coverage detected