-
Notifications
You must be signed in to change notification settings - Fork 13
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
Describing a fixed length field #39
Comments
I think |
Thanks Paul! It works, but something is still wrong. If I try the way you say:
I get the following error:
To make it work I need to change the way self._value is passed to pack: Original version not working (line 887 in fields.py): Modified version working (same line 887 in fields.py): If the fix is ok, BaseVariableByteSequence has the same problem. |
ocurero's suggestion is a nice workaround, but it would be great if you could implement a FixedByteSequence(number_of_bytes) field in the next version of suitcase. |
Hi,
How do I describe a fixed length character field that is always 8 bytes long?
Payload() works if the field is variable length but in my case I have a lot of fields that are fixed (padded with blanks if necessary).
Thanks!
The text was updated successfully, but these errors were encountered: