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