Remove unneeded functions from data_utils
Change integers to proper std::uintX_t.