include/grpc/impl/codegen/byte_buffer.h
Go to the documentation of this file.
1 /*
2  *
3  * Copyright 2015 gRPC authors.
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 #ifndef GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
20 #define GRPC_IMPL_CODEGEN_BYTE_BUFFER_H
21 
22 // IWYU pragma: private, include <grpc/byte_buffer.h>
23 
25 
27 
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
37  size_t nslices);
38 
46  grpc_slice* slices, size_t nslices, grpc_compression_algorithm compression);
47 
53 
56 
59 
63 
68 
71 
76  grpc_slice* slice);
77 
89  grpc_slice** slice);
90 
94 
98 
99 #ifdef __cplusplus
100 }
101 #endif
102 
103 #endif /* GRPC_IMPL_CODEGEN_BYTE_BUFFER_H */
grpc_raw_byte_buffer_create
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_create(grpc_slice *slices, size_t nslices)
Definition: byte_buffer.cc:34
grpc_raw_compressed_byte_buffer_create
GRPCAPI grpc_byte_buffer * grpc_raw_compressed_byte_buffer_create(grpc_slice *slices, size_t nslices, grpc_compression_algorithm compression)
Definition: byte_buffer.cc:40
grpc_byte_buffer_reader_readall
GRPCAPI grpc_slice grpc_byte_buffer_reader_readall(grpc_byte_buffer_reader *reader)
Definition: byte_buffer_reader.cc:84
grpc_compression_algorithm
grpc_compression_algorithm
Definition: compression_types.h:60
grpc_byte_buffer_length
GRPCAPI size_t grpc_byte_buffer_length(grpc_byte_buffer *bb)
Definition: byte_buffer.cc:92
grpc_byte_buffer_reader_next
GRPCAPI int grpc_byte_buffer_reader_next(grpc_byte_buffer_reader *reader, grpc_slice *slice)
Definition: byte_buffer_reader.cc:66
grpc_types.h
slice
grpc_slice slice
Definition: src/core/lib/surface/server.cc:467
grpc_byte_buffer_reader_init
GRPCAPI int grpc_byte_buffer_reader_init(grpc_byte_buffer_reader *reader, grpc_byte_buffer *buffer)
Definition: byte_buffer_reader.cc:33
grpc_byte_buffer
Definition: grpc_types.h:43
grpc_slice
Definition: include/grpc/impl/codegen/slice.h:65
buffer
char buffer[1024]
Definition: libuv/docs/code/idle-compute/main.c:8
grpc_raw_byte_buffer_from_reader
GRPCAPI grpc_byte_buffer * grpc_raw_byte_buffer_from_reader(grpc_byte_buffer_reader *reader)
Definition: byte_buffer.cc:56
port_platform.h
slices
SliceBuffer * slices
Definition: retry_filter.cc:631
grpc_byte_buffer_destroy
GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer *bb)
Definition: byte_buffer.cc:81
grpc_byte_buffer_reader_peek
GRPCAPI int grpc_byte_buffer_reader_peek(grpc_byte_buffer_reader *reader, grpc_slice **slice)
Definition: byte_buffer_reader.cc:49
GRPCAPI
#define GRPCAPI
Definition: impl/codegen/port_platform.h:664
grpc_byte_buffer_copy
GRPCAPI grpc_byte_buffer * grpc_byte_buffer_copy(grpc_byte_buffer *bb)
Definition: byte_buffer.cc:71
grpc_byte_buffer_reader
Definition: impl/codegen/byte_buffer_reader.h:30
reader
void reader(void *n)
Definition: libuv/docs/code/locks/main.c:8
grpc_byte_buffer_reader_destroy
GRPCAPI void grpc_byte_buffer_reader_destroy(grpc_byte_buffer_reader *reader)
Definition: byte_buffer_reader.cc:45


grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:41