blob: d944da0546a90a63b0d41348a9e084bf7c3e8f39 [file] [log] [blame]
Thomas Van Lenten30650d82015-05-01 08:57:16 -04001// Protocol Buffers - Google's data interchange format
2// Copyright 2008 Google Inc. All rights reserved.
Thomas Van Lenten30650d82015-05-01 08:57:16 -04003//
Joshua Haberman44bd65b2023-09-08 17:43:14 -07004// 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
Thomas Van Lenten30650d82015-05-01 08:57:16 -04007
8#import <Foundation/Foundation.h>
9
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040010#import "GPBDescriptor.h"
Thomas Van Lenten30650d82015-05-01 08:57:16 -040011
Thomas Van Lenten30650d82015-05-01 08:57:16 -040012@class GPBCodedOutputStream;
Thomas Van Lenten30650d82015-05-01 08:57:16 -040013
Thomas Van Lenten5d0b2172022-09-19 17:20:35 -040014size_t GPBComputeExtensionSerializedSizeIncludingTag(GPBExtensionDescriptor *extension, id value);
Thomas Van Lenten30650d82015-05-01 08:57:16 -040015
Thomas Van Lenten5d0b2172022-09-19 17:20:35 -040016void GPBWriteExtensionValueToOutputStream(GPBExtensionDescriptor *extension, id value,
Thomas Van Lentend846b0b2015-06-08 16:24:57 -040017 GPBCodedOutputStream *output);