From 023726202a0ec2b30f61561e0b990706ed04d578 Mon Sep 17 00:00:00 2001 From: ncteisen Date: Tue, 31 Oct 2017 13:13:03 -0700 Subject: Refactor SerializationTraits --- src/cpp/common/core_codegen.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/cpp/common/core_codegen.cc b/src/cpp/common/core_codegen.cc index 6ea5f1d3c7..15cf190e65 100644 --- a/src/cpp/common/core_codegen.cc +++ b/src/cpp/common/core_codegen.cc @@ -156,6 +156,10 @@ grpc_slice CoreCodegen::grpc_slice_split_head(grpc_slice* s, size_t split) { return ::grpc_slice_split_head(s, split); } +grpc_slice CoreCodegen::grpc_slice_sub(grpc_slice s, size_t begin, size_t end) { + return ::grpc_slice_sub(s, begin, end); +} + grpc_slice CoreCodegen::grpc_slice_from_static_buffer(const void* buffer, size_t length) { return ::grpc_slice_from_static_buffer(buffer, length); -- cgit v1.2.3