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 line
408 B

5 年之前
  1. includes:
  2. - <array>
  3. - <span>
  4. namespace: db
  5. classes:
  6. -
  7. name: database
  8. attributes:
  9. -
  10. name: metadata
  11. start: 0
  12. out_type: std::array<uint8_t, 4096>
  13. -
  14. name: record_cnt
  15. start: 0
  16. out_type: uint64_t
  17. repeats:
  18. -
  19. name: record_list
  20. start: 4096
  21. out_type: std::array<uint8_t, 64>
  22. count_name: record_cnt