Expose primary pack and unpack methods as exported C++ and C methods so other extensions can call them directly without python function call overhead