MCPcopy 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
178static __inline void
179le16enc(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
187static __inline void
188le32enc(void *pp, uint32_t u)

Callers 1

le_uuid_encFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected