Various utilities used throughout the jPSXdec program.