when reading from mem, translates to decimal number; when saving to mem, translates to hex string