EightBit/M6502/HarteTest_6502/ram_t.h
Adrian Conlon e63ace34e9 Simplifications of json usage. No slow down.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
2021-10-21 22:43:16 +01:00

17 lines
330 B
C++

#pragma once
#include "simdjson/simdjson.h"
#include "byte_t.h"
class ram_t final {
private:
simdjson::dom::array m_raw;;
public:
ram_t(simdjson::dom::array input) noexcept;
[[nodiscard]] auto begin() const noexcept { return m_raw.begin(); }
[[nodiscard]] auto end() const noexcept { return m_raw.end(); }
};