blob: 8b13c03e3d347e3775397f6d4bf5a996e8b60f4a [file] [edit]
#include <sframe/sframe.h>
#include <string>
#include <vector>
using bytes = std::vector<uint8_t>;
bytes
from_hex(const std::string& hex);
std::string
to_hex(const sframe::input_bytes data);
template<typename T>
bytes
to_bytes(const T& range)
{
return bytes(range.begin(), range.end());
}