OleksandrKvl / sbepp

C++ implementation of the FIX Simple Binary Encoding
https://oleksandrkvl.github.io/sbepp/
MIT License
39 stars 4 forks source link

Better cursor checks #62

Closed OleksandrKvl closed 2 weeks ago

OleksandrKvl commented 2 weeks ago

Fixes #25

Adds checks that compare current cursor value to the address obtained via normal accessors. These checks protect against accessing fields in a wrong order when using cursors.