diff options
author | neksard <neksard@yandex-team.ru> | 2022-02-10 16:45:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:33 +0300 |
commit | 1d9c550e7c38e051d7961f576013a482003a70d9 (patch) | |
tree | b2cc84ee7850122e7ccf51d0ea21e4fa7e7a5685 /contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h | |
parent | 8f7cf138264e0caa318144bf8a2c950e0b0a8593 (diff) | |
download | ydb-1d9c550e7c38e051d7961f576013a482003a70d9.tar.gz |
Restoring authorship annotation for <neksard@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h')
-rw-r--r-- | contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h b/contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h index 00b5fc7252..3d01fb2468 100644 --- a/contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h +++ b/contrib/libs/grpc/test/cpp/util/byte_buffer_proto_helper.h @@ -27,15 +27,15 @@ namespace grpc { namespace testing { -bool ParseFromByteBuffer(ByteBuffer* buffer, - ::grpc::protobuf::Message* message); +bool ParseFromByteBuffer(ByteBuffer* buffer, + ::grpc::protobuf::Message* message); std::unique_ptr<ByteBuffer> SerializeToByteBuffer( - ::grpc::protobuf::Message* message); + ::grpc::protobuf::Message* message); + +bool SerializeToByteBufferInPlace(::grpc::protobuf::Message* message, + ByteBuffer* buffer); -bool SerializeToByteBufferInPlace(::grpc::protobuf::Message* message, - ByteBuffer* buffer); - } // namespace testing } // namespace grpc |