aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/hex.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:23 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:23 +0300
commit706b83ed7de5a473436620367af31fc0ceecde07 (patch)
tree103305d30dec77e8f6367753367f59b3cd68f9f1 /util/string/hex.cpp
parent918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff)
downloadydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/string/hex.cpp')
-rw-r--r--util/string/hex.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/util/string/hex.cpp b/util/string/hex.cpp
index 667397987f..71eec149a0 100644
--- a/util/string/hex.cpp
+++ b/util/string/hex.cpp
@@ -44,8 +44,8 @@ void* HexDecode(const void* in, size_t len, void* ptr) {
return out;
}
-TString HexEncode(const void* in, size_t len) {
- TString ret;
+TString HexEncode(const void* in, size_t len) {
+ TString ret;
ret.ReserveAndResize(len << 1);
HexEncode(in, len, ret.begin());
@@ -53,8 +53,8 @@ TString HexEncode(const void* in, size_t len) {
return ret;
}
-TString HexDecode(const void* in, size_t len) {
- TString ret;
+TString HexDecode(const void* in, size_t len) {
+ TString ret;
ret.ReserveAndResize(len >> 1);
HexDecode(in, len, ret.begin());