Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ WriteLE16
Function
WriteLE16
src/crypto/common.h:38–42 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
36
}
37
38
void static inline WriteLE16(unsigned char* ptr, uint16_t x)
39
{
40
uint16_t v = htole16(x);
41
memcpy(ptr, (char*)&v, 2);
42
}
43
44
void static inline WriteLE32(unsigned char* ptr, uint32_t x)
45
{
Callers
2
CScript
Class · 0.85
FUZZ_TARGET
Function · 0.85
Calls
1
htole16
Function · 0.85
Tested by
1
FUZZ_TARGET
Function · 0.68