In the loop, I check if the data there is a variable length. Then I do a validation checking if the value length is bigger than
the value of the property 'variableLength' and throw an exception.
If the value is less than the value of the property 'variableLength', I pad it left with zeros in order to have the same length of the property
'variableLength'.
BIT[32] = 489409
In this case the spect value is 06 and the property 'variableLength' has the maximum value 11.
In the loop, I check if the data there is a variable length. Then I do a validation checking if the value length is bigger than the value of the property 'variableLength' and throw an exception. If the value is less than the value of the property 'variableLength', I pad it left with zeros in order to have the same length of the property 'variableLength'. BIT[32] = 489409 In this case the spect value is 06 and the property 'variableLength' has the maximum value 11.