vector_utils namespace
#include <pr/tests/vector_test_utils.hpp>
Functions
-
auto drain_bits(prf::
pr:: Afsk1200Decoder& decoder) -> std::vector<bool> - auto from_hex(const std::string& hex) -> std::vector<std::uint8_t>
- auto invert_bits(const std::vector<bool>& bits) -> std::vector<bool>
- auto json_string(const std::string& json, const std::string& key) -> std::string
- auto nrzi_decode(const std::vector<bool>& levels, const bool initial_level) -> std::vector<bool>
- auto read_text_file(const std::filesystem::path& path) -> std::string
- auto try_extract_matching_frame(const std::vector<bool>& raw_levels, const std::vector<std::uint8_t>& expected_frame_no_fcs) -> bool