mirror of
https://github.com/libretro/Mesen.git
synced 2024-12-13 20:42:24 +00:00
16 lines
327 B
C++
16 lines
327 B
C++
#pragma once
|
|
#include "stdafx.h"
|
|
|
|
class HexUtilities
|
|
{
|
|
private:
|
|
const static vector<string> _hexCache;
|
|
|
|
public:
|
|
static string ToHex(uint8_t addr);
|
|
static string ToHex(uint16_t addr);
|
|
static string ToHex(uint32_t addr, bool fullSize = false);
|
|
static string ToHex(vector<uint8_t> &data);
|
|
|
|
static int FromHex(string hex);
|
|
}; |