winapi has this feature which allows to mostly remove bound checks from compression algorithms,
so I made a class which supposedly makes it easier to use.
The idea is that instead of explicit checks in the code, like if( p>=buf+bufsize) on each memory write,
we can use hardware support (it has almost zero overhead when bound check is never triggered).
"Guard page" is like normal memory, but triggers the SEH handler on first access, where buf.flag is set.