This trait is to be used with prefixed length unparsers where the length is
known without needing to unparse the data. This means there is either a
fixed length (like in the case of some binary numbers), or the length can be
determined completly be inspecting the infoset data (like in the case of
packed decimals). The length calculation performed in the getBitLength
function, which returns the length of the data in bits.
This trait is to be used with prefixed length unparsers where the length is known without needing to unparse the data. This means there is either a fixed length (like in the case of some binary numbers), or the length can be determined completly be inspecting the infoset data (like in the case of packed decimals). The length calculation performed in the getBitLength function, which returns the length of the data in bits.