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

Function ser_readdata32be

src/serialize.h:106–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 return le32toh(obj);
105}
106template<typename Stream> inline uint32_t ser_readdata32be(Stream &s)
107{
108 uint32_t obj;
109 s.read(AsWritableBytes(Span{&obj, 1}));
110 return be32toh(obj);
111}
112template<typename Stream> inline uint64_t ser_readdata64(Stream &s)
113{
114 uint64_t obj;

Callers 3

FUZZ_TARGET_INITFunction · 0.85
UnserializeMethod · 0.85
UnserializeMethod · 0.85

Calls 3

AsWritableBytesFunction · 0.85
be32tohFunction · 0.85
readMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.68