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

Function ReadLe32

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

Source from the content-addressed store, hash-verified

39}
40
41uint32_t ReadLe32(const std::vector<uint8_t>& bytes, size_t offset)
42{
43 return static_cast<uint32_t>(bytes[offset]) |
44 (static_cast<uint32_t>(bytes[offset + 1U]) << 8U) |
45 (static_cast<uint32_t>(bytes[offset + 2U]) << 16U) |
46 (static_cast<uint32_t>(bytes[offset + 3U]) << 24U);
47}
48
49int32_t ReadLeS32(const std::vector<uint8_t>& bytes, size_t offset)
50{

Callers 2

ReadLeS32Function · 0.85
ReadBmp24Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected