From 90101548ec43fd50ddc143eb0cbe99bdd0b47c6f Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 2 Nov 2020 14:02:01 +0100 Subject: Improve FIG0/13, add 0/7, avoid int overflows --- src/utils.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils.hpp') diff --git a/src/utils.hpp b/src/utils.hpp index 524ef09..ee5f7c9 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -103,3 +103,5 @@ std::string pnum_to_str(uint16_t Programme_Number); // -90dB int absolute_to_dB(int16_t value); +uint32_t read_u32_from_buf(const uint8_t *buf); +uint16_t read_u16_from_buf(const uint8_t *buf); -- cgit v1.2.3