python-suitcase icon indicating copy to clipboard operation
python-suitcase copied to clipboard

LengthField multiplier does not support referencing other fields

Open martinpelikan opened this issue 8 years ago • 0 comments
trafficstars

The protocol I'm working with includes two pieces of data in individual fields needed to determine the total payload length that I would have in a FieldArray's length_provider:

  1. The substructure length
  2. The number of substructures

From the docs it looks like the multiplier in LengthField is what number 2) is above. The current implementation appears to only support integers however.

martinpelikan avatar Mar 15 '17 00:03 martinpelikan