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

Function readByteWithInfinity

source/EngineInterface/GenomeDescriptionService.cpp:96–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95 }
96 int readByteWithInfinity(std::vector<uint8_t> const& data, int& pos)
97 {
98 return convertByteToByteWithInfinity(readByte(data, pos));
99 }
100 bool readBool(std::vector<uint8_t> const& data, int& pos)
101 {
102 return static_cast<int8_t>(readByte(data, pos)) > 0;

Callers 1

Calls 2

readByteFunction · 0.85

Tested by

no test coverage detected