31 #import <Foundation/Foundation.h>
36 NS_ASSUME_NONNULL_BEGIN
56 typedef NS_ENUM(NSInteger, GPBCodedInputStreamErrorCode) {
58 GPBCodedInputStreamErrorInvalidSize = -100,
60 GPBCodedInputStreamErrorSubsectionLimitReached = -101,
62 GPBCodedInputStreamErrorInvalidSubsectionLimit = -102,
64 GPBCodedInputStreamErrorInvalidTag = -103,
66 GPBCodedInputStreamErrorInvalidUTF8 = -104,
68 GPBCodedInputStreamErrorInvalidVarInt = -105,
70 GPBCodedInputStreamErrorRecursionDepthExceeded = -106,
94 + (instancetype)streamWithData:(NSData *)data;
103 - (instancetype)initWithData:(NSData *)data;
231 - (size_t)pushLimit:(
size_t)byteLimit;
239 - (void)popLimit:(
size_t)oldLimit;
249 - (void)checkLastTagWas:(
int32_t)expected;
253 NS_ASSUME_NONNULL_END