-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
48 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
#include <string_view> | ||
|
||
namespace OpenShock::Convert { | ||
bool ToInt8(std::string_view str, int8_t& val); | ||
bool ToUInt8(std::string_view str, uint8_t& val); | ||
bool ToInt16(std::string_view str, int16_t& val); | ||
bool ToUInt16(std::string_view str, uint16_t& val); | ||
bool ToInt32(std::string_view str, int32_t& val); | ||
bool ToUInt32(std::string_view str, uint32_t& val); | ||
bool ToInt64(std::string_view str, int64_t& val); | ||
bool ToUInt64(std::string_view str, uint64_t& val); | ||
bool ToBool(std::string_view str, bool& val); | ||
} // namespace OpenShock::Convert |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters