vkottler / ifgen

An interface generator for distributed computing.
MIT License
1 stars 0 forks source link

Add support for adding "reserved" padding bytes #35

Closed vkottler closed 1 year ago

vkottler commented 1 year ago

Shouldn't be too difficult. Example for why we need it:

image

vkottler commented 1 year ago

This is what I'm thinking: allow the schema to accept an integer as a valid list entry for a field.

At runtime, JIT translate it into a "real" field that gets some RESERVEDX name (configurable?), gets converted to an array etc.

vkottler commented 1 year ago

Added this support on: https://github.com/vkottler/ifgen/pull/41 to the struct generator itself.

Now we need to actually handle populating this field.

vkottler commented 1 year ago

This is now fully functional!