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

Function skip_bytes

rust/fory-core/src/serializer/skip.rs:46–50  ·  view source on GitHub ↗
(context: &mut ReadContext, len: usize)

Source from the content-addressed store, hash-verified

44
45#[inline(always)]
46fn skip_bytes(context: &mut ReadContext, len: usize) -> Result<(), Error> {
47 context.reader.check_bound(len)?;
48 context.reader.move_next(len);
49 Ok(())
50}
51
52#[cold]
53#[inline(never)]

Callers 3

skip_sized_bytesFunction · 0.85
skip_stringFunction · 0.85
skip_decimalFunction · 0.85

Calls 2

check_boundMethod · 0.80
move_nextMethod · 0.80

Tested by

no test coverage detected