summaryrefslogtreecommitdiffhomepage
path: root/asm/operators.h
blob: 280de5869826cd88982b4f3a4a912748c7726929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Operating on data

#pragma once

#include <cstdint>
#include <vector>

std::vector<uint8_t> operator+(std::vector<uint8_t> a, const std::vector<uint8_t>& b);
std::vector<uint8_t> operator+(std::vector<uint8_t> a, const uint8_t& b);

std::vector<uint8_t> operator+=(std::vector<uint8_t>& a, const std::vector<uint8_t>& b);
std::vector<uint8_t> operator+=(std::vector<uint8_t>& a, const uint8_t& b);