Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add padding as keyword #29

Open
jvdb opened this issue Jan 14, 2013 · 0 comments
Open

Add padding as keyword #29

jvdb opened this issue Jan 14, 2013 · 0 comments

Comments

@jvdb
Copy link
Owner

jvdb commented Jan 14, 2013

So that the header can have a field definition that describes padding:

format x
extension x

strings ascii
padding 0xFF
size 1

One thing that needs to be sorted out: How extensive should the padding definition be? There are multiple possibilities:

  1. Instead of a definition, refer to a padding structure defined in the structures section.
  2. A complete field definition, such as padding: 0xFF size 1; but then the : and ; syntax looks out of place. Maybe this can be omitted.
  3. Just a single value using the format's defaults as shown in the example above. This may be too limited to effectively express different variants of padding encountered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant