Version 1.12
1. Fixed bug with empty string
There is no mistake. Unit tests work fine. Prior to this, the code was used in many projects. There was an error when working with an empty string. Commit was a very long time. For the current version, svn could not update the sources. I posted the current version in the form of an archive.
The project is alive while I'm alive. On the basis of this project, other projects for Delphi were launched. But I like my code more. In my mail, I do not look often. I updated my profile. Skype is installed and constantly working on my work computer and during the weekend I usually rest and at this time I can not answer. But there is a phone to which you can send SMS or call if you have something burning. I'll try to help you.
Денис, спасибо за найденную ошибку, в ближайшее время постараюсь исправить эту проблему. Извини, не сильно часто просматриваю свою почту. С уважением, Марат Denis, thanks for the error found, in the near future I will try to fix this problem. Sorry, I do not often look at my mail. Sincerely, Marat
I encountered problem with the following and made a suggestion: function TProtoBufInput.readString: AnsiString; var size: integer; begin size := readRawVarint32; Assert(size > 0, ProtoBufException + 'readString (size <= 0)'); //<--- sometimes, server will pass an empty string and it will cause exception. should change it to Size >= 0 instead. SetString(result, FBuffer + FPos, size); Inc(FPos, size); end; Seems, the author of this project won't respond to feeback anymore. This project seems dead!
should if be FPos <= FLen or FPos < FLen? Dennis