binpac const string size patch

Hi,

Here is a patch to fix length calculation of a const string. The problem:
if you define a const string such as "Whatever\x00" in binpac, the size of
the string becomes 8 instead of 9!

Happy hacking!

Jimmy

binpac.patch (6.48 KB)