MCPcopy Create free account
hub / github.com/bamler-lab/constriction / pos

Method pos

src/pybindings/stream/queue.rs:154–157  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

152 /// See [`seek`](#constriction.stream.queue.RangeDecoder.seek).
153 #[pyo3(signature = ())]
154 pub fn pos(&mut self) -> (usize, (u64, u64)) {
155 let (pos, state) = self.inner.pos();
156 (pos, (state.lower(), state.range().get()))
157 }
158
159 /// Returns the current size of the encapsulated compressed data, in `np.uint32` words.
160 ///

Callers 4

test_range_coding_seekFunction · 0.95
test_range_coding_seekFunction · 0.95
test_range_coding_seekFunction · 0.95
test_range_coding_seekFunction · 0.95

Calls 2

lowerMethod · 0.80
rangeMethod · 0.80

Tested by 4

test_range_coding_seekFunction · 0.76
test_range_coding_seekFunction · 0.76
test_range_coding_seekFunction · 0.76
test_range_coding_seekFunction · 0.76