Wow, who knew bool is one byte and I was using it as a 4byte int?! C++ auto casts fails you in mysterious ways...
Like hb-view, but prints out buffer contents. The output format is kinda cryptic. Suggestions welcome.