Code generator for C++ from YAML to generate network protocol parsers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
408 B

includes:
- <array>
- <span>
namespace: db
classes:
-
name: database
attributes:
-
name: metadata
start: 0
out_type: std::array<uint8_t, 4096>
-
name: record_cnt
start: 0
out_type: uint64_t
repeats:
-
name: record_list
start: 4096
out_type: std::array<uint8_t, 64>
count_name: record_cnt