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

Method peek

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

Source from the content-addressed store, hash-verified

599
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 }

Callers 7

bumpMethod · 0.80
skip_wsMethod · 0.80
valMethod · 0.80
objMethod · 0.80
arrMethod · 0.80
stringMethod · 0.80
numberMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected