MCPcopy Create free account
hub / github.com/Bloom-Engine/engine / bump

Method bump

native/watchos/src/models.rs:602–604  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

600impl<'a> P<'a> {
601 fn peek(&self) -> Option<u8> { self.bytes.get(self.pos).copied() }
602 fn bump(&mut self) -> Option<u8> {
603 let c = self.peek()?; self.pos += 1; Some(c)
604 }
605 fn skip_ws(&mut self) {
606 while let Some(c) = self.peek() {
607 if c == b' ' || c == b'\t' || c == b'\n' || c == b'\r' { self.pos += 1; }

Callers 5

valMethod · 0.80
objMethod · 0.80
arrMethod · 0.80
stringMethod · 0.80
numberMethod · 0.80

Calls 1

peekMethod · 0.80

Tested by

no test coverage detected