summaryrefslogtreecommitdiff
path: root/src/common/hex_util.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common/hex_util: Reserve std::string memory ahead of timeGravatar Lioncash2019-06-121-0/+5
| | | | | | | | Avoids potentially performing multiple reallocations (depending on the size of the input data) by reserving the necessary amount of memory ahead of time. This is trivially doable, so there's no harm in it.
* common/hex_util: Combine HexVectorToString() and HexArrayToString()Gravatar Lioncash2019-06-121-4/+7
| | | | | | These can be generified together by using a concept type to designate them. This also has the benefit of not making copies of potentially very large arrays.
* ips_layer: Deduplicate resource usageGravatar Zach Hilman2018-10-041-1/+1
|
* hex_util: Add HexVectorToString and HexStringToVectorGravatar Zach Hilman2018-10-041-0/+5
| | | | Converts between bytes and strings when the size is not known at compile time.
* Port #4182 from Citra: "Prefix all size_t with std::"Gravatar fearlessTobi2018-09-151-6/+6
|
* common: Namespace hex_util.h/.cppGravatar Lioncash2018-08-151-0/+4
| | | | | It's in the common code, so it should be under the Common namespace like everything else.
* file_sys: Comply to style guidelinesGravatar Zach Hilman2018-08-111-0/+2
|
* common: Move hex string processing to separate fileGravatar Zach Hilman2018-08-111-0/+35