ArkScript
A small, fast, functional and scripting language for video games
Ark::internal::bytecode Namespace Reference

Variables

constexpr std::array Magic = { 'a', 'r', 'k', '\0' }
 
constexpr std::array Version
 
constexpr std::size_t TimestampLength = 8
 
constexpr std::size_t HeaderSize = Magic.size() + Version.size() + TimestampLength
 

Variable Documentation

◆ HeaderSize

std::size_t Ark::internal::bytecode::HeaderSize = Magic.size() + Version.size() + TimestampLength
constexpr

◆ Magic

std::array Ark::internal::bytecode::Magic = { 'a', 'r', 'k', '\0' }
constexpr

Definition at line 29 of file Common.hpp.

Referenced by Ark::BytecodeReader::checkMagic(), and Ark::BytecodeReader::version().

◆ TimestampLength

std::size_t Ark::internal::bytecode::TimestampLength = 8
constexpr

Definition at line 38 of file Common.hpp.

◆ Version

std::array Ark::internal::bytecode::Version
constexpr
Initial value:
= {
}
constexpr int ARK_VERSION_MAJOR
Definition Constants.hpp:17
constexpr int ARK_VERSION_PATCH
Definition Constants.hpp:19
constexpr int ARK_VERSION_MINOR
Definition Constants.hpp:18

Definition at line 30 of file Common.hpp.

Referenced by Ark::BytecodeReader::version().