MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / buffer_readF64

Method buffer_readF64

tests/test_provider.cpp:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128 }
129
130 void buffer_readF64() {
131 QByteArray d(8, '\0');
132 double val = 2.71828;
133 std::memcpy(d.data(), &val, 8);
134 BufferProvider p(d);
135 QCOMPARE(p.readF64(0), val);
136 }
137
138 void buffer_readAs_customStruct() {
139 struct Pair { uint16_t a; uint16_t b; };

Callers

nothing calls this directly

Calls 1

readF64Method · 0.80

Tested by

no test coverage detected