MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / readI16

Function readI16

lib/EpdFont/SdCardFont.cpp:42–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40// Helper to read little-endian values from byte buffer
41inline uint16_t readU16(const uint8_t* p) { return p[0] | (p[1] << 8); }
42inline int16_t readI16(const uint8_t* p) { return static_cast<int16_t>(p[0] | (p[1] << 8)); }
43inline uint32_t readU32(const uint8_t* p) { return p[0] | (p[1] << 8) | (p[2] << 16) | (p[3] << 24); }
44
45// Walks a null-terminated UTF-8 string and appends each unique codepoint to

Callers 1

loadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected