1 // Protocol Buffers - Google's data interchange format 2 // Copyright 2008 Google Inc. All rights reserved. 3 // 4 // Use of this source code is governed by a BSD-style 5 // license that can be found in the LICENSE file or at 6 // https://developers.google.com/open-source/licenses/bsd 7 8 #import <Foundation/Foundation.h> 9 10 #import "GPBCodedOutputStream.h" 11 #import "GPBDescriptor.h" 12 13 size_t GPBComputeExtensionSerializedSizeIncludingTag( 14 GPBExtensionDescriptor *extension, id value); 15 16 void GPBWriteExtensionValueToOutputStream(GPBExtensionDescriptor *extension, 17 id value, 18 GPBCodedOutputStream *output); 19