summaryrefslogtreecommitdiff
path: root/AK/Hex.h
AgeCommit message (Collapse)Author
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-18AK/Hex: Decode hex digit in constexpr contextLenny Maiorani
Problem: - Hex digit decoding is not `constexpr`, but can be. Solution: - Move the body of the function to the header and decorate with `constexpr`. - Provide tests for run-time and compile-time evaluation.
2021-04-14AK: Expose the decode_hex_digit helperIdan Horowitz
This helper is useful on its own for things like uri encoding/decoding, so this commit exposes it via the AK/Hex header
2021-02-08Everywhere: Remove unnecessary headers 3/4Ben Wiederhake
Arbitrarily split up to make git bisect easier. These unnecessary #include's were found by combining an automated tool (which determined likely candidates) and some brain power (which decided whether the #include is also semantically superfluous).
2020-12-13AK: Add {encode,decode}_hex similar to {encode,decode}_base64Conrad Pankoff