mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-27 22:57:45 +00:00
21 lines
340 B
C
21 lines
340 B
C
![]() |
#ifndef _UTIL_H
|
||
|
#define _UTIL_H
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <boost/format.hpp>
|
||
|
|
||
|
namespace Core {
|
||
|
namespace Util {
|
||
|
|
||
|
std::string binaryToHexString( uint8_t* pBinData, uint16_t size );
|
||
|
|
||
|
uint64_t getTimeMs();
|
||
|
|
||
|
uint64_t getEorzeanTimeStamp();
|
||
|
|
||
|
void valueToFlagByteIndexValue( uint32_t inVal, uint8_t& outVal, uint16_t& outIndex );
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|