GPBExtensionInternals.h 680 B

123456789101112131415161718
  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. #import <Foundation/Foundation.h>
  8. #import "GPBCodedOutputStream.h"
  9. #import "GPBDescriptor.h"
  10. size_t GPBComputeExtensionSerializedSizeIncludingTag(
  11. GPBExtensionDescriptor *extension, id value);
  12. void GPBWriteExtensionValueToOutputStream(GPBExtensionDescriptor *extension,
  13. id value,
  14. GPBCodedOutputStream *output);