diff options
author | elshiko <[email protected]> | 2022-02-10 16:49:20 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:20 +0300 |
commit | 455ab915435b70e433ed91eee2ca84f03122d6cb (patch) | |
tree | 4570335e510c5cb009cca313349e2a29b4c62310 /library/cpp/protobuf/util/pb_io.cpp | |
parent | 85ad20a00eb9c7d4dcae0debe5172d5f9bc6792f (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/protobuf/util/pb_io.cpp')
-rw-r--r-- | library/cpp/protobuf/util/pb_io.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/protobuf/util/pb_io.cpp b/library/cpp/protobuf/util/pb_io.cpp index 6270ee06243..d0d9b65d895 100644 --- a/library/cpp/protobuf/util/pb_io.cpp +++ b/library/cpp/protobuf/util/pb_io.cpp @@ -21,15 +21,15 @@ namespace NProtoBuf { } }; - void ParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) { + void ParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) { if (!m.ParseFromString(allowUneven ? Base64DecodeUneven(dataBase64) : Base64StrictDecode(dataBase64))) { ythrow yexception() << "can't parse " << m.GetTypeName() << " from base64-encoded string"; } } - bool TryParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) { + bool TryParseFromBase64String(const TStringBuf dataBase64, Message& m, bool allowUneven) { try { - ParseFromBase64String(dataBase64, m, allowUneven); + ParseFromBase64String(dataBase64, m, allowUneven); return true; } catch (const std::exception&) { return false; |