MCPcopy Create free account
hub / github.com/ElementsProject/elements / ToUint64

Method ToUint64

src/minisketch/src/fields/generic_common_impl.h:65–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63
64 constexpr Elem FromUint64(uint64_t x) const { return O::Mask(I(x)); }
65 constexpr uint64_t ToUint64(Elem val) const { return uint64_t(val); }
66};
67
68}

Callers 1

DecodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected