MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / wrappedEncodeMfm

Function wrappedEncodeMfm

tests/fmmfm.cc:49–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49static std::vector<bool> wrappedEncodeMfm(const Bytes& bytes)
50{
51 std::vector<bool> bits(16);
52 unsigned cursor = 0;
53 bool lastBit = false;
54 encodeMfm(bits, cursor, bytes, lastBit);
55 return bits;
56}
57
58static std::vector<bool> wrappedEncodeFm(const Bytes& bytes)
59{

Callers 1

testEncodeMfmFunction · 0.85

Calls 1

encodeMfmFunction · 0.85

Tested by

no test coverage detected