MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / position

Method position

crates/tinywasm/src/reference.rs:98–100  ·  view source on GitHub ↗

Returns the current cursor position.

(&self)

Source from the content-addressed store, hash-verified

96
97 /// Returns the current cursor position.
98 pub const fn position(&self) -> u64 {
99 self.position
100 }
101
102 /// Sets the current cursor position.
103 pub fn set_position(&mut self, position: u64) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected