Add tests for packet decode/encode (and fix some bugs found by the tests!)
This commit is contained in:
@@ -211,7 +211,7 @@ messages.forEach((message) =>
|
||||
else
|
||||
{
|
||||
//Variable parameter in variable or multi block - tricky edge case
|
||||
blockVariableSize.push('this.calculateVarVarSize(this.'+block.name+', \''+param.name+'\', '+param.size+')');
|
||||
messageVariableSize.push('this.calculateVarVarSize(this.'+block.name+', \''+param.name+'\', '+param.size+')');
|
||||
calcVarVar = true;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user