realXtend/naali — comment on commit 3ae77db16a904235181267abf1c2b0ce0c52e440
File:  line 0
By juj:

The change from
return 1 + parameter.size()*1;
to
return 2 + parameter.size()*1;
is wrong. This can corrupt the messages. VLE does not encode to fixed two bytes, instead the size is variable-length, defined by the actual length of the content. That is the whole point of variable-length encoding. See line 50 in http://clb.demon.fi/knet/_v_l_e_packer_8h_source.html to query the proper size.