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

Method skip

python/pyfory/cpp/pyfory.cc:357–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355 }
356
357 Result<void, Error> skip(uint32_t size) override {
358 if (size == 0) {
359 return Result<void, Error>();
360 }
361 Error error;
362 buffer_->increase_reader_index(size, error);
363 if (FORY_PREDICT_FALSE(!error.ok())) {
364 return Unexpected(std::move(error));
365 }
366 return Result<void, Error>();
367 }
368
369 void shrink_buffer() override {
370 if (buffer_ == nullptr) {

Callers 1

skip_typedefFunction · 0.45

Calls 3

UnexpectedClass · 0.85
increase_reader_indexMethod · 0.80
okMethod · 0.45

Tested by

no test coverage detected