C++ wrapper for libxdr library