Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ sumBytes
Function
sumBytes
lib/core/crc.cc:46–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
uint16_t sumBytes(const Bytes& bytes)
47
{
48
ByteReader br(bytes);
49
50
uint16_t i = 0;
51
while (!br.eof())
52
i += br.read_8();
53
return i;
54
}
55
56
uint8_t xorBytes(const Bytes& bytes)
57
{
Callers
6
write_sector
Function · 0.85
decodeDataRecord
Method · 0.85
writeSector
Method · 0.85
decodeSectorRecord
Method · 0.85
decodeDataRecord
Method · 0.85
decodeSectorRecord
Method · 0.85
Calls
2
read_8
Method · 0.80
eof
Method · 0.45
Tested by
no test coverage detected