#include <coded_stream.h>
|
int | BytesUntilLimit () const |
|
int | BytesUntilTotalBytesLimit () const |
|
bool | CheckEntireMessageConsumedAndPopLimit (Limit limit) |
|
| CodedInputStream (const uint8 *buffer, int size) |
|
| CodedInputStream (ZeroCopyInputStream *input) |
|
bool | ConsumedEntireMessage () |
|
int | CurrentPosition () const |
|
void | DecrementRecursionDepth () |
|
bool | DecrementRecursionDepthAndPopLimit (Limit limit) |
|
bool | ExpectAtEnd () |
|
PROTOBUF_ALWAYS_INLINE bool | ExpectTag (uint32 expected) |
|
bool | GetDirectBufferPointer (const void **data, int *size) |
|
PROTOBUF_ALWAYS_INLINE void | GetDirectBufferPointerInline (const void **data, int *size) |
|
MessageFactory * | GetExtensionFactory () |
|
const DescriptorPool * | GetExtensionPool () |
|
bool | IncrementRecursionDepth () |
|
std::pair< CodedInputStream::Limit, int > | IncrementRecursionDepthAndPushLimit (int byte_limit) |
|
PROTOBUF_ALWAYS_INLINE bool | InternalReadRawInline (void *buffer, int size) |
|
PROTOBUF_ALWAYS_INLINE bool | InternalReadStringInline (std::string *buffer, int size) |
|
bool | IsFlat () const |
|
bool | LastTagWas (uint32 expected) |
|
void | PopLimit (Limit limit) |
|
| PROTOBUF_DEPRECATED_MSG ("Please use the single parameter version of SetTotalBytesLimit(). The " "second parameter is ignored.") void SetTotalBytesLimit(int total_bytes_limit |
|
Limit | PushLimit (int byte_limit) |
|
Limit | ReadLengthAndPushLimit () |
|
bool | ReadLittleEndian32 (uint32 *value) |
|
bool | ReadLittleEndian64 (uint64 *value) |
|
bool | ReadRaw (void *buffer, int size) |
|
bool | ReadString (std::string *buffer, int size) |
|
PROTOBUF_ALWAYS_INLINE uint32 | ReadTag () |
|
PROTOBUF_ALWAYS_INLINE uint32 | ReadTagNoLastTag () |
|
PROTOBUF_ALWAYS_INLINE std::pair< uint32, bool > | ReadTagWithCutoff (uint32 cutoff) |
|
PROTOBUF_ALWAYS_INLINE std::pair< uint32, bool > | ReadTagWithCutoffNoLastTag (uint32 cutoff) |
|
bool | ReadVarint32 (uint32 *value) |
|
bool | ReadVarint64 (uint64 *value) |
|
bool | ReadVarintSizeAsInt (int *value) |
|
int | RecursionBudget () |
|
void | SetConsumed () |
|
void | SetExtensionRegistry (const DescriptorPool *pool, MessageFactory *factory) |
|
void | SetLastTag (uint32 tag) |
|
void | SetRecursionLimit (int limit) |
|
void | SetTotalBytesLimit (int total_bytes_limit) |
|
bool | Skip (int count) |
|
void | UnsafeDecrementRecursionDepth () |
|
| ~CodedInputStream () |
|
Definition at line 173 of file coded_stream.h.
◆ Limit
◆ CodedInputStream() [1/2]
◆ CodedInputStream() [2/2]
google::protobuf::io::CodedInputStream::CodedInputStream |
( |
const uint8 * |
buffer, |
|
|
int |
size |
|
) |
| |
|
inlineexplicit |
◆ ~CodedInputStream()
google::protobuf::io::CodedInputStream::~CodedInputStream |
( |
| ) |
|
◆ Advance()
void google::protobuf::io::CodedInputStream::Advance |
( |
int |
amount | ) |
|
|
inlineprivate |
◆ BackUpInputToCurrentPosition()
void google::protobuf::io::CodedInputStream::BackUpInputToCurrentPosition |
( |
| ) |
|
|
private |
◆ BufferSize()
int google::protobuf::io::CodedInputStream::BufferSize |
( |
| ) |
const |
|
inlineprivate |
◆ BytesUntilLimit()
int google::protobuf::io::CodedInputStream::BytesUntilLimit |
( |
| ) |
const |
◆ BytesUntilTotalBytesLimit()
int google::protobuf::io::CodedInputStream::BytesUntilTotalBytesLimit |
( |
| ) |
const |
◆ CheckEntireMessageConsumedAndPopLimit()
bool google::protobuf::io::CodedInputStream::CheckEntireMessageConsumedAndPopLimit |
( |
Limit |
limit | ) |
|
◆ ConsumedEntireMessage()
bool google::protobuf::io::CodedInputStream::ConsumedEntireMessage |
( |
| ) |
|
|
inline |
◆ CurrentPosition()
int google::protobuf::io::CodedInputStream::CurrentPosition |
( |
| ) |
const |
|
inline |
◆ DecrementRecursionDepth()
void google::protobuf::io::CodedInputStream::DecrementRecursionDepth |
( |
| ) |
|
|
inline |
◆ DecrementRecursionDepthAndPopLimit()
bool google::protobuf::io::CodedInputStream::DecrementRecursionDepthAndPopLimit |
( |
Limit |
limit | ) |
|
◆ ExpectAtEnd()
bool google::protobuf::io::CodedInputStream::ExpectAtEnd |
( |
| ) |
|
|
inline |
◆ ExpectTag()
bool google::protobuf::io::CodedInputStream::ExpectTag |
( |
uint32 |
expected | ) |
|
|
inline |
◆ ExpectTagFromArray()
const uint8 * google::protobuf::io::CodedInputStream::ExpectTagFromArray |
( |
const uint8 * |
buffer, |
|
|
uint32 |
expected |
|
) |
| |
|
inlinestatic |
◆ GetDefaultRecursionLimit()
static int google::protobuf::io::CodedInputStream::GetDefaultRecursionLimit |
( |
| ) |
|
|
inlinestatic |
◆ GetDirectBufferPointer()
bool google::protobuf::io::CodedInputStream::GetDirectBufferPointer |
( |
const void ** |
data, |
|
|
int * |
size |
|
) |
| |
◆ GetDirectBufferPointerInline()
void google::protobuf::io::CodedInputStream::GetDirectBufferPointerInline |
( |
const void ** |
data, |
|
|
int * |
size |
|
) |
| |
|
inline |
◆ GetExtensionFactory()
MessageFactory * google::protobuf::io::CodedInputStream::GetExtensionFactory |
( |
| ) |
|
|
inline |
◆ GetExtensionPool()
const DescriptorPool * google::protobuf::io::CodedInputStream::GetExtensionPool |
( |
| ) |
|
|
inline |
◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS()
google::protobuf::io::CodedInputStream::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS |
( |
CodedInputStream |
| ) |
|
|
private |
◆ IncrementRecursionDepth()
bool google::protobuf::io::CodedInputStream::IncrementRecursionDepth |
( |
| ) |
|
|
inline |
◆ IncrementRecursionDepthAndPushLimit()
◆ InternalReadRawInline()
bool google::protobuf::io::CodedInputStream::InternalReadRawInline |
( |
void * |
buffer, |
|
|
int |
size |
|
) |
| |
|
inline |
◆ InternalReadStringInline()
bool google::protobuf::io::CodedInputStream::InternalReadStringInline |
( |
std::string * |
buffer, |
|
|
int |
size |
|
) |
| |
|
inline |
◆ IsFlat()
bool google::protobuf::io::CodedInputStream::IsFlat |
( |
| ) |
const |
|
inline |
◆ LastTagWas()
bool google::protobuf::io::CodedInputStream::LastTagWas |
( |
uint32 |
expected | ) |
|
|
inline |
◆ PopLimit()
void google::protobuf::io::CodedInputStream::PopLimit |
( |
Limit |
limit | ) |
|
◆ PrintTotalBytesLimitError()
void google::protobuf::io::CodedInputStream::PrintTotalBytesLimitError |
( |
| ) |
|
|
private |
◆ PROTOBUF_DEPRECATED_MSG()
google::protobuf::io::CodedInputStream::PROTOBUF_DEPRECATED_MSG |
( |
"Please use the single parameter version of SetTotalBytesLimit(). The " "second parameter is ignored." |
| ) |
|
◆ PushLimit()
◆ ReadLengthAndPushLimit()
◆ ReadLittleEndian32()
bool google::protobuf::io::CodedInputStream::ReadLittleEndian32 |
( |
uint32 * |
value | ) |
|
|
inline |
◆ ReadLittleEndian32Fallback()
bool google::protobuf::io::CodedInputStream::ReadLittleEndian32Fallback |
( |
uint32 * |
value | ) |
|
|
private |
◆ ReadLittleEndian32FromArray()
const uint8 * google::protobuf::io::CodedInputStream::ReadLittleEndian32FromArray |
( |
const uint8 * |
buffer, |
|
|
uint32 * |
value |
|
) |
| |
|
inlinestatic |
◆ ReadLittleEndian64()
bool google::protobuf::io::CodedInputStream::ReadLittleEndian64 |
( |
uint64 * |
value | ) |
|
|
inline |
◆ ReadLittleEndian64Fallback()
bool google::protobuf::io::CodedInputStream::ReadLittleEndian64Fallback |
( |
uint64 * |
value | ) |
|
|
private |
◆ ReadLittleEndian64FromArray()
const uint8 * google::protobuf::io::CodedInputStream::ReadLittleEndian64FromArray |
( |
const uint8 * |
buffer, |
|
|
uint64 * |
value |
|
) |
| |
|
inlinestatic |
◆ ReadRaw()
bool google::protobuf::io::CodedInputStream::ReadRaw |
( |
void * |
buffer, |
|
|
int |
size |
|
) |
| |
◆ ReadString()
bool google::protobuf::io::CodedInputStream::ReadString |
( |
std::string * |
buffer, |
|
|
int |
size |
|
) |
| |
◆ ReadStringFallback()
bool google::protobuf::io::CodedInputStream::ReadStringFallback |
( |
std::string * |
buffer, |
|
|
int |
size |
|
) |
| |
|
private |
◆ ReadTag()
PROTOBUF_ALWAYS_INLINE uint32 google::protobuf::io::CodedInputStream::ReadTag |
( |
| ) |
|
|
inline |
◆ ReadTagFallback()
uint32 google::protobuf::io::CodedInputStream::ReadTagFallback |
( |
uint32 |
first_byte_or_zero | ) |
|
|
private |
◆ ReadTagNoLastTag()
uint32 google::protobuf::io::CodedInputStream::ReadTagNoLastTag |
( |
| ) |
|
|
inline |
◆ ReadTagSlow()
uint32 google::protobuf::io::CodedInputStream::ReadTagSlow |
( |
| ) |
|
|
private |
◆ ReadTagWithCutoff()
PROTOBUF_ALWAYS_INLINE std::pair<uint32, bool> google::protobuf::io::CodedInputStream::ReadTagWithCutoff |
( |
uint32 |
cutoff | ) |
|
|
inline |
◆ ReadTagWithCutoffNoLastTag()
std::pair< uint32, bool > google::protobuf::io::CodedInputStream::ReadTagWithCutoffNoLastTag |
( |
uint32 |
cutoff | ) |
|
|
inline |
◆ ReadVarint32()
bool google::protobuf::io::CodedInputStream::ReadVarint32 |
( |
uint32 * |
value | ) |
|
|
inline |
◆ ReadVarint32Fallback()
int64 google::protobuf::io::CodedInputStream::ReadVarint32Fallback |
( |
uint32 |
first_byte_or_zero | ) |
|
|
private |
◆ ReadVarint32Slow()
bool google::protobuf::io::CodedInputStream::ReadVarint32Slow |
( |
uint32 * |
value | ) |
|
|
private |
◆ ReadVarint64()
bool google::protobuf::io::CodedInputStream::ReadVarint64 |
( |
uint64 * |
value | ) |
|
|
inline |
◆ ReadVarint64Fallback()
std::pair< uint64, bool > google::protobuf::io::CodedInputStream::ReadVarint64Fallback |
( |
| ) |
|
|
private |
◆ ReadVarint64Slow()
bool google::protobuf::io::CodedInputStream::ReadVarint64Slow |
( |
uint64 * |
value | ) |
|
|
private |
◆ ReadVarintSizeAsInt()
bool google::protobuf::io::CodedInputStream::ReadVarintSizeAsInt |
( |
int * |
value | ) |
|
|
inline |
◆ ReadVarintSizeAsIntFallback()
int google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntFallback |
( |
| ) |
|
|
private |
◆ ReadVarintSizeAsIntSlow()
int google::protobuf::io::CodedInputStream::ReadVarintSizeAsIntSlow |
( |
| ) |
|
|
private |
◆ RecomputeBufferLimits()
void google::protobuf::io::CodedInputStream::RecomputeBufferLimits |
( |
| ) |
|
|
inlineprivate |
◆ RecursionBudget()
int google::protobuf::io::CodedInputStream::RecursionBudget |
( |
| ) |
|
|
inline |
◆ Refresh()
bool google::protobuf::io::CodedInputStream::Refresh |
( |
| ) |
|
|
private |
◆ SetConsumed()
void google::protobuf::io::CodedInputStream::SetConsumed |
( |
| ) |
|
|
inline |
◆ SetExtensionRegistry()
◆ SetLastTag()
void google::protobuf::io::CodedInputStream::SetLastTag |
( |
uint32 |
tag | ) |
|
|
inline |
◆ SetRecursionLimit()
void google::protobuf::io::CodedInputStream::SetRecursionLimit |
( |
int |
limit | ) |
|
|
inline |
◆ SetTotalBytesLimit()
void google::protobuf::io::CodedInputStream::SetTotalBytesLimit |
( |
int |
total_bytes_limit | ) |
|
◆ Skip()
bool google::protobuf::io::CodedInputStream::Skip |
( |
int |
count | ) |
|
|
inline |
◆ SkipFallback()
bool google::protobuf::io::CodedInputStream::SkipFallback |
( |
int |
count, |
|
|
int |
original_buffer_size |
|
) |
| |
|
private |
◆ UnsafeDecrementRecursionDepth()
void google::protobuf::io::CodedInputStream::UnsafeDecrementRecursionDepth |
( |
| ) |
|
|
inline |
◆ google::protobuf::internal::EpsCopyByteStream
friend class google::protobuf::internal::EpsCopyByteStream |
|
friend |
◆ google::protobuf::ZeroCopyCodedInputStream
friend class google::protobuf::ZeroCopyCodedInputStream |
|
friend |
◆ aliasing_enabled_
bool google::protobuf::io::CodedInputStream::aliasing_enabled_ |
|
private |
◆ buffer_
const uint8* google::protobuf::io::CodedInputStream::buffer_ |
|
private |
◆ buffer_end_
const uint8* google::protobuf::io::CodedInputStream::buffer_end_ |
|
private |
◆ buffer_size_after_limit_
int google::protobuf::io::CodedInputStream::buffer_size_after_limit_ |
|
private |
◆ current_limit_
Limit google::protobuf::io::CodedInputStream::current_limit_ |
|
private |
◆ default_recursion_limit_
int google::protobuf::io::CodedInputStream::default_recursion_limit_ = 100 |
|
staticprivate |
◆ extension_factory_
MessageFactory* google::protobuf::io::CodedInputStream::extension_factory_ |
|
private |
◆ extension_pool_
const DescriptorPool* google::protobuf::io::CodedInputStream::extension_pool_ |
|
private |
◆ input_
◆ int
google::protobuf::io::CodedInputStream::int |
◆ kDefaultTotalBytesLimit
const int google::protobuf::io::CodedInputStream::kDefaultTotalBytesLimit = INT_MAX |
|
staticprivate |
◆ last_tag_
uint32 google::protobuf::io::CodedInputStream::last_tag_ |
|
private |
◆ legitimate_message_end_
bool google::protobuf::io::CodedInputStream::legitimate_message_end_ |
|
private |
◆ overflow_bytes_
int google::protobuf::io::CodedInputStream::overflow_bytes_ |
|
private |
◆ recursion_budget_
int google::protobuf::io::CodedInputStream::recursion_budget_ |
|
private |
◆ recursion_limit_
int google::protobuf::io::CodedInputStream::recursion_limit_ |
|
private |
◆ total_bytes_limit_
int google::protobuf::io::CodedInputStream::total_bytes_limit_ |
|
private |
◆ total_bytes_read_
int google::protobuf::io::CodedInputStream::total_bytes_read_ |
|
private |
The documentation for this class was generated from the following files: