ecs/network-shared/include/debug.h

14 lines
195 B
C++

#pragma once
#include <array>
#include <iostream>
template<int I>
void dump_buffer(std::array<uint8_t, I> &buff) {
for (uint32_t b : buff) {
std::cout << b << ' ';
}
std::cout << '\n';
}