Mako based C++ code generation for integer buffer read/write support.