MCPcopy Create free account
hub / github.com/Arm-Examples/ML-examples / ReadLe16

Function ReadLe16

ethos-u-corstone-1000/app/src/common/InputUtils.cpp:35–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33using Image = DecodedImage;
34
35uint16_t ReadLe16(const std::vector<uint8_t>& bytes, size_t offset)
36{
37 return static_cast<uint16_t>(bytes[offset]) |
38 static_cast<uint16_t>(static_cast<uint16_t>(bytes[offset + 1U]) << 8U);
39}
40
41uint32_t ReadLe32(const std::vector<uint8_t>& bytes, size_t offset)
42{

Callers 1

ReadBmp24Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected