Assembles the current compressed data into a single slice. This method is only implemented for encoders backed by a `Vec ` because we have to temporarily seal the encoder and then unseal it when the returned `EncoderGuard` is dropped, which requires precise knowledge of the backend (and which is also the reason why this method takes a `&mut self` receiver). If you're using a different backen
(&mut self)
| 480 | /// |
| 481 | /// [`into_compressed`]: Self::into_compressed |
| 482 | pub fn get_compressed(&mut self) -> EncoderGuard<'_, Word, State> { |
| 483 | EncoderGuard::new(self) |
| 484 | } |
| 485 | |
| 486 | // TODO: implement `iter_compressed` |
| 487 |
no outgoing calls