aboutsummaryrefslogtreecommitdiffstats
path: root/util/string/hex.cpp
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /util/string/hex.cpp
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 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 71eec149a0..667397987f 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());