diff options
-rw-r--r-- | AK/Hex.cpp | 2 | ||||
-rw-r--r-- | AK/Hex.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/AK/Hex.cpp b/AK/Hex.cpp index e0913392f5..0e3c367bff 100644 --- a/AK/Hex.cpp +++ b/AK/Hex.cpp @@ -35,7 +35,7 @@ namespace AK { -static u8 decode_hex_digit(char digit) +u8 decode_hex_digit(char digit) { if (digit >= '0' && digit <= '9') return digit - '0'; @@ -33,6 +33,8 @@ namespace AK { +u8 decode_hex_digit(char); + Optional<ByteBuffer> decode_hex(const StringView&); String encode_hex(ReadonlyBytes); @@ -40,4 +42,5 @@ String encode_hex(ReadonlyBytes); } using AK::decode_hex; +using AK::decode_hex_digit; using AK::encode_hex; |