Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/F-Stack/f-stack
/ le16enc
Function
le16enc
freebsd/sys/endian.h:178–185 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
176
}
177
178
static __inline void
179
le16enc(void *pp, uint16_t u)
180
{
181
uint8_t *p = (uint8_t *)pp;
182
183
p[0] = u & 0xff;
184
p[1] = (u >> 8) & 0xff;
185
}
186
187
static __inline void
188
le32enc(void *pp, uint32_t u)
Callers
1
le_uuid_enc
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected