mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-01 17:55:30 +00:00
Finishing the WlaDx label's parser
This commit is contained in:
@@ -55,4 +55,6 @@ namespace ComSquare::Utility
|
||||
{
|
||||
return std::bitset<24>(i).to_string();
|
||||
}
|
||||
|
||||
const std::string WHITESPACES = " \t\n\r\f\v";
|
||||
}
|
||||
@@ -2,13 +2,12 @@
|
||||
// Created by anonymus-raccoon on 2/16/20.
|
||||
//
|
||||
|
||||
#ifndef COMSQUARE_UTILITY_HPP
|
||||
#define COMSQUARE_UTILITY_HPP
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <ios>
|
||||
#include <sstream>
|
||||
#include "../Models/Int24.hpp"
|
||||
#include "Models/Int24.hpp"
|
||||
|
||||
namespace ComSquare::Utility
|
||||
{
|
||||
@@ -19,16 +18,12 @@ namespace ComSquare::Utility
|
||||
};
|
||||
|
||||
std::string to_hex(uint8_t i, HexString prefix = AsmPrefix);
|
||||
|
||||
std::string to_hex(uint16_t i, HexString prefix = AsmPrefix);
|
||||
|
||||
std::string to_hex(uint24_t i, HexString prefix = AsmPrefix);
|
||||
|
||||
std::string to_binary(uint8_t i);
|
||||
|
||||
std::string to_binary(uint16_t i);
|
||||
|
||||
std::string to_binary(uint24_t i);
|
||||
}
|
||||
|
||||
#endif //COMSQUARE_UTILITY_HPP
|
||||
extern const std::string WHITESPACES;
|
||||
}
|
||||
Reference in New Issue
Block a user