Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
978 B
33 lines
978 B
// Protocol Buffers - Google's data interchange format |
|
// Copyright 2008 Google Inc. All rights reserved. |
|
// |
|
// Use of this source code is governed by a BSD-style |
|
// license that can be found in the LICENSE file or at |
|
// https://developers.google.com/open-source/licenses/bsd |
|
|
|
#import <Foundation/Foundation.h> |
|
|
|
#import "GPBUnknownFieldSet.h" |
|
|
|
@class GPBCodedOutputStream; |
|
@class GPBCodedInputStream; |
|
|
|
@interface GPBUnknownFieldSet () |
|
|
|
- (NSData *)data; |
|
|
|
- (size_t)serializedSize; |
|
- (size_t)serializedSizeAsMessageSet; |
|
|
|
- (void)writeToCodedOutputStream:(GPBCodedOutputStream *)output; |
|
- (void)writeAsMessageSetTo:(GPBCodedOutputStream *)output; |
|
|
|
- (void)mergeUnknownFields:(GPBUnknownFieldSet *)other; |
|
|
|
- (void)mergeFromCodedInputStream:(GPBCodedInputStream *)input; |
|
|
|
- (void)mergeVarintField:(int32_t)number value:(int32_t)value; |
|
- (void)mergeLengthDelimited:(int32_t)number value:(NSData *)value; |
|
- (BOOL)mergeFieldFrom:(int32_t)tag input:(GPBCodedInputStream *)input; |
|
|
|
@end
|
|
|