MCPcopy Create free account
hub / github.com/SIPp/sipp / uint_val

Function uint_val

src/rtpstream.cpp:2364–2368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2362#endif // USE_TLS
2363
2364static inline uint32_t uint_val(const char *ptr)
2365{
2366 // Read as little-endian. Do not dereference as int, since it can be misaligned.
2367 return static_cast<uint32_t>((ptr[0]) | (ptr[1] << 8) | (ptr[2] << 16) | (ptr[3] << 24));
2368}
2369
2370// wav format details:
2371// https://www.fatalerrors.org/a/detailed-explanation-of-wav-file-format.html

Callers 1

get_wav_header_sizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected