GPBUnknownFieldSet_PackagePrivate.h 985 B

1234567891011121314151617181920212223242526272829303132
  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 "GPBCodedInputStream.h"
  9. #import "GPBCodedOutputStream.h"
  10. #import "GPBUnknownFieldSet.h"
  11. @interface GPBUnknownFieldSet ()
  12. - (NSData *)data;
  13. - (size_t)serializedSize;
  14. - (size_t)serializedSizeAsMessageSet;
  15. - (void)writeToCodedOutputStream:(GPBCodedOutputStream *)output;
  16. - (void)writeAsMessageSetTo:(GPBCodedOutputStream *)output;
  17. - (void)mergeUnknownFields:(GPBUnknownFieldSet *)other;
  18. - (void)mergeFromCodedInputStream:(GPBCodedInputStream *)input;
  19. - (void)mergeVarintField:(int32_t)number value:(int32_t)value;
  20. - (void)mergeLengthDelimited:(int32_t)number value:(NSData *)value;
  21. - (BOOL)mergeFieldFrom:(int32_t)tag input:(GPBCodedInputStream *)input;
  22. @end