Compile to bytecode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user