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

Method get_decoder

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

Source from the content-addressed store, hash-verified

246 /// whereas the longhand version copies the data twice.
247 #[pyo3(signature = ())]
248 pub fn get_decoder(&mut self) -> RangeDecoder {
249 let compressed = self.inner.get_compressed().to_vec();
250 RangeDecoder::from_vec(compressed)
251 }
252
253 /// Encodes one or more symbols, appending them to the encapsulated compressed data.
254 ///

Callers 1

test_queue_gaussianFunction · 0.95

Calls 1

get_compressedMethod · 0.45

Tested by 1

test_queue_gaussianFunction · 0.76