Public Types |
typedef int | Limit |
Public Member Functions |
| CodedInputStream (ZeroCopyInputStream *input) |
| CodedInputStream (const uint8 *buffer, int size) |
| ~CodedInputStream () |
bool | Skip (int count) |
bool | GetDirectBufferPointer (const void **data, int *size) |
void | GetDirectBufferPointerInline (const void **data, int *size) GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
bool | ReadRaw (void *buffer, int size) |
bool | ReadString (string *buffer, int size) |
bool | InternalReadStringInline (string *buffer, int size) GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
bool | ReadLittleEndian32 (uint32 *value) |
bool | ReadLittleEndian64 (uint64 *value) |
bool | ReadVarint32 (uint32 *value) |
bool | ReadVarint64 (uint64 *value) |
uint32 | ReadTag () GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
bool | ExpectTag (uint32 expected) GOOGLE_ATTRIBUTE_ALWAYS_INLINE |
bool | ExpectAtEnd () |
bool | LastTagWas (uint32 expected) |
bool | ConsumedEntireMessage () |
Limit | PushLimit (int byte_limit) |
void | PopLimit (Limit limit) |
int | BytesUntilLimit () |
void | SetTotalBytesLimit (int total_bytes_limit, int warning_threshold) |
void | SetRecursionLimit (int limit) |
bool | IncrementRecursionDepth () |
void | DecrementRecursionDepth () |
void | SetExtensionRegistry (DescriptorPool *pool, MessageFactory *factory) |
const DescriptorPool * | GetExtensionPool () |
MessageFactory * | GetExtensionFactory () |
Static Public Member Functions |
static const uint8 * | ReadLittleEndian32FromArray (const uint8 *buffer, uint32 *value) |
static const uint8 * | ReadLittleEndian64FromArray (const uint8 *buffer, uint64 *value) |
static const uint8 * | ExpectTagFromArray (const uint8 *buffer, uint32 expected) GOOGLE_ATTRIBUTE_ALWAYS_INLINE |