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

Method FromUint64

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

Source from the content-addressed store, hash-verified

62 void Serialize(BitWriter& out, Elem val) const { out.template Write<B, I>(val); }
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

Callers 1

AddMethod · 0.45

Calls 1

MaskFunction · 0.50

Tested by

no test coverage detected