#pragma once #include "types.hpp" #include #include namespace le { using binparse::Value8; using binparse::Value16; using binparse::Offset16; using binparse::Offset32; struct EntryPoint { binparse::Value8 flags; boost::variant entry; }; struct EntryTableEntry { Value8 nr_entries; Value8 flags; Value16 object_index; std::vector entries; }; EntryTableEntry parse_entry_table_entry(std::istream& is); std::ostream& operator<<(std::ostream& os, EntryTableEntry const& entry); }