simple-binary-encoding
simple-binary-encoding copied to clipboard
Ability to set the code to execute on a failed bounds check.
Be able to set the code to execute on a failed bounds check. eg. assert() so a fail would call abort().
Can you provide a worked example of how this would be setup and function? Would it be a macro to be inserted that would default to a noop?
Yes, I was thinking about macro (or some alternative way to provide a piece of code to SBE Tool to inject). I would say the default behavior should be the same as current (currently it throws, right?).