MCPcopy Create free account
hub / github.com/FastLED/FastLED / getBigEndian16

Function getBigEndian16

tests/fl/chipsets/encoders/hd108.hpp:34–36  ·  view source on GitHub ↗

Helper to extract 16-bit big-endian value from byte vector

Source from the content-addressed store, hash-verified

32
33/// Helper to extract 16-bit big-endian value from byte vector
34static u16 getBigEndian16(const fl::vector<u8>& data, size_t offset) {
35 return (u16(data[offset]) << 8) | u16(data[offset + 1]);
36}
37
38/// Helper to verify start frame (8 bytes of 0x00)
39static void verifyStartFrame(const fl::vector<u8>& data) {

Callers 2

verifyLEDDataFunction · 0.70
hd108.hppFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected