org.apache.daffodil.processors.unparsers
Gets the length of a provided element and stores the unit adjusted length as the value in the element that represent its prefix length
Gets the length of a provided element and stores the unit adjusted length as the value in the element that represent its prefix length
The element who's length to get
The element to store the length
This trait is to be used with prefixed length unparsers where the length must be calculated based on the value length of the data. This means the data must be unparsed, the value length calculated, and that value will be assigned to the prefix length element.