Compile to bytecode

This commit is contained in:
2020-09-03 19:03:32 +02:00
parent 473334c3db
commit 96345ad6ba
45 changed files with 1615 additions and 1231 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#include <cstdint>
#include <optional>
#include <string>
#include <vector>
namespace Utils
{
@@ -15,4 +17,14 @@ namespace Utils
std::string getValueSurroundedByWhitespace(
std::string const & src,
std::size_t const pos);
namespace Bytes
{
void Write(
int const value,
std::vector<std::uint8_t> & vec,
std::size_t const pos);
int Read(std::vector<std::uint8_t> const & vec, std::size_t const pos);
}
}