#include "operators.h" // binary code operators std::vector operator+(std::vector a, const std::vector& b) { a.insert(a.end(), b.begin(), b.end()); return a; } std::vector operator+(std::vector a, const uint8_t& b) { a.push_back(b); return a; } std::vector operator+=(std::vector& a, const std::vector& b) { a.insert(a.end(), b.begin(), b.end()); return a; } std::vector operator+=(std::vector& a, const uint8_t& b) { a.push_back(b); return a; }