// // Created by qiufeng on 2020/12/4. // #ifndef SRC_UTILS_HPP #define SRC_UTILS_HPP #include #include #include std::string ByteToHexString(uint8_t k); template void PrintByteBuffer(const std::array buffer) { for (auto &x : buffer) { std::cout << ByteToHexString(x) << " "; } } #endif //SRC_UTILS_HPP