Functional hexint class.