mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-05 03:07:44 +00:00
17b71aafc3
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
14 lines
295 B
C++
14 lines
295 B
C++
#pragma once
|
|
|
|
#include "simdjson/simdjson.h"
|
|
|
|
#include "array_t.h"
|
|
|
|
class byte_t : public array_t {
|
|
public:
|
|
byte_t(simdjson::dom::array input) noexcept;
|
|
|
|
[[nodiscard]] auto address() const noexcept { return address_at(0); }
|
|
[[nodiscard]] auto value() const noexcept { return byte_at(1); }
|
|
};
|