diff options
author | Craig Tiller <ctiller@google.com> | 2015-07-06 07:10:34 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-07-06 07:10:34 -0700 |
commit | bdfd8976e14282977483b24826b171a22582cbb1 (patch) | |
tree | a6b6ce62f3e005e9f305875db2c88e6c61473ad9 /include | |
parent | 51fbeb0c7c1f9d6f92fd66adcb1c788bdfce29e2 (diff) | |
parent | d1dd3a68a2d4af56f1409327c197590dac6968cb (diff) |
Merge github.com:grpc/grpc into tis-but-thy-name
Diffstat (limited to 'include')
-rw-r--r-- | include/grpc/byte_buffer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc/byte_buffer.h b/include/grpc/byte_buffer.h index a62054ac19..913e2a7697 100644 --- a/include/grpc/byte_buffer.h +++ b/include/grpc/byte_buffer.h @@ -102,6 +102,10 @@ void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader); int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, gpr_slice *slice); +/** Returns a RAW byte buffer instance from the output of \a reader. */ +grpc_byte_buffer *grpc_raw_byte_buffer_from_reader( + grpc_byte_buffer_reader *reader); + #ifdef __cplusplus } #endif |