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

Function ser_readdata64

src/serialize.h:112–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110 return be32toh(obj);
111}
112template<typename Stream> inline uint64_t ser_readdata64(Stream &s)
113{
114 uint64_t obj;
115 s.read(AsWritableBytes(Span{&obj, 1}));
116 return le64toh(obj);
117}
118
119
120/////////////////////////////////////////////////////////////////

Callers 3

UnserializeFunction · 0.85
ReadCompactSizeFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls 3

AsWritableBytesFunction · 0.85
le64tohFunction · 0.85
readMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.68