MCPcopy Create free account
hub / github.com/apache/fory / read_var_uint32

Method read_var_uint32

cpp/fory/serialization/context.h:574–576  ·  view source on GitHub ↗

Read uint32_t value as varint from buffer. Sets error on failure.

Source from the content-addressed store, hash-verified

572
573 /// Read uint32_t value as varint from buffer. Sets error on failure.
574 FORY_ALWAYS_INLINE uint32_t read_var_uint32(Error &error) {
575 return buffer().read_var_uint32(error);
576 }
577
578 /// Read int32_t value as zigzag varint from buffer. Sets error on failure.
579 FORY_ALWAYS_INLINE int32_t read_var_int32(Error &error) {

Callers 15

readMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_dataMethod · 0.45
read_configurable_intFunction · 0.45
read_configured_scalarFunction · 0.45

Calls

no outgoing calls

Tested by 2

run_test_bufferFunction · 0.36
run_test_buffer_varFunction · 0.36