Echo Writes Code

container.hpp

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef CRUCIBLE_BOLT_CONTAINER_HPP
#define CRUCIBLE_BOLT_CONTAINER_HPP

#include <cstdint>
#include <vector>

namespace crucible::bolt::container {
  struct Header final {
    std::uint32_t signature { 0x00000000 };

    std::uint32_t data_size { 0x00000000 };
  };

  struct Container final {
    std::vector<Header> headers {};
  };
}

#endif // CRUCIBLE_BOLT_CONTAINER_HPP