Attention is currently required from: fixeria.
2 comments:
Commit Message:
it would pad the data with zeros if it does not fit the
specified length. This is unwanted
AFAIR, the `ALIGN` attribute tells where to put the payload if it's less than the buffer size: eithe […]
My observation here is that when ALIGN(left) is used, the buffer is padded with zeros at the beginning. The "ALIGN" behaves more like a "PAD".
With ALIGN(left) the buffer looks like this:
0000000000000000313233343539393837
Without ALIGN(left) (or with ALIGN(right)) the buffer looks like:
3132333435393938370000000000000000 (correct)
Unfortunately I do not fully understand this either. Maybe align in this context is more about padding - I am not sure.
Patchset:
I have re-tested this, everything seems to be fine but I also didn't fully understand how the ALIGN attribute works (see comment). Since everything works as expected I would say that we can merge this.
To view, visit change 33417. To unsubscribe, or for help writing mail filters, visit settings.