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

Function ser_writedata64

src/serialize.h:77–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 s.write(AsBytes(Span{&obj, 1}));
76}
77template<typename Stream> inline void ser_writedata64(Stream &s, uint64_t obj)
78{
79 obj = htole64(obj);
80 s.write(AsBytes(Span{&obj, 1}));
81}
82template<typename Stream> inline uint8_t ser_readdata8(Stream &s)
83{
84 uint8_t obj;

Callers 4

SerializeFunction · 0.85
WriteCompactSizeFunction · 0.85
CaptureMessageToFileFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls 3

htole64Function · 0.85
AsBytesFunction · 0.85
writeMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.68