hackedteam/vector-edk

View on GitHub
vector-uefi/insyde/7zip/CPP/Common/IntToString.h

Summary

Maintainability
Test Coverage
// Common/IntToString.h

#ifndef __COMMON_INT_TO_STRING_H
#define __COMMON_INT_TO_STRING_H

#include <stddef.h>
#include "Types.h"

void ConvertUInt64ToString(UInt64 value, char *s, UInt32 base = 10);
void ConvertUInt64ToString(UInt64 value, wchar_t *s);
void ConvertInt64ToString(Int64 value, char *s);
void ConvertInt64ToString(Int64 value, wchar_t *s);

void ConvertUInt32ToString(UInt32 value, char *s);
void ConvertUInt32ToString(UInt32 value, wchar_t *s);

void ConvertUInt32ToHexWithZeros(UInt32 value, char *s);

#endif