Returns the number of compressed words on the ans. This includes a constant overhead of between one and two words unless the coder is completely empty. This method returns the length of the slice, the `Vec `, or the iterator that would be returned by [`get_compressed`], [`into_compressed`], or [`iter_compressed`], respectively, when called at this time. See also [`num_bits`]. [`get_compre
(&'a self)
| 393 | /// [`iter_compressed`]: #method.iter_compressed |
| 394 | /// [`num_bits`]: #method.num_bits |
| 395 | pub fn num_words<'a>(&'a self) -> usize |
| 396 | where |
| 397 | Backend: AsReadWords<'a, Word, Queue>, |
| 398 | Backend::AsReadWords: BoundedReadWords<Word, Queue>, |
| 399 | { |
| 400 | self.bulk.as_read_words().remaining() + self.num_seal_words() |
| 401 | } |
| 402 | |
| 403 | /// Returns the size of the current queue of compressed data in bits. |
| 404 | /// |
no test coverage detected