MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / read_u16le

Function read_u16le

src/framework/assets/torch_bin.cpp:19–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17// ---- Byte helpers -------------------------------------------------------------------
18
19uint16_t read_u16le(const uint8_t * data) {
20 return static_cast<uint16_t>(data[0]) | static_cast<uint16_t>(static_cast<uint16_t>(data[1]) << 8);
21}
22
23uint32_t read_u32le(const uint8_t * data) {
24 return static_cast<uint32_t>(data[0]) | (static_cast<uint32_t>(data[1]) << 8) |

Callers 2

read_zip_entriesFunction · 0.85
read_u16Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected