Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
600
impl<
'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
bump
Method · 0.80
skip_ws
Method · 0.80
val
Method · 0.80
obj
Method · 0.80
arr
Method · 0.80
string
Method · 0.80
number
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected