Explorar o código
Don't pad files that are already aligned
David Tang <dtang03@users.sf.net> noted:
According to the DOCSIS MULPI spec, pad bytes should be used to word
(32-bit) align a file. This means that there should only be at most
3 pad bytes appended to the end of a file. We are noticing that some
files are getting generated with 4 pad bytes, which does not
accomplish anything for word alignment.
From the spec:
C.1.2.2 Pad Configuration Setting
This has no length or value fields and is only used following the
end of data marker to pad the file to an integral number of 32-bit
words.
http://sf.net/tracker/?func=detail&aid=2858695&group_id=22615&atid=375631