mirror of
https://github.com/SourMesen/VisualNes.git
synced 2025-04-02 10:31:49 -04:00
15 lines
No EOL
260 B
C++
15 lines
No EOL
260 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);
|
|
|
|
static int FromHex(string hex);
|
|
}; |