MCPcopy Create free account
hub / github.com/bcndev/bytecoin / binary_parse

Function binary_parse

src/main_fuzzer.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23template<typename T, typename... Context>
24void binary_parse(const cn::BinaryArray &msg, Context... context) {
25 try {
26 T t{};
27 seria::from_binary(t, msg, context...);
28 sideeffect(true);
29 } catch (const std::exception &ex) {
30 }
31}
32
33template<typename T>
34void levin_parse(const cn::BinaryArray &msg) {

Callers

nothing calls this directly

Calls 2

from_binaryFunction · 0.85
sideeffectFunction · 0.85

Tested by

no test coverage detected