| 17 | use interface::{ArithmeticEncoderOrDecoder, ReadableBytes, WritableBytes}; |
| 18 | use super::DivansResult; |
| 19 | pub trait ByteQueue { |
| 20 | #[inline(always)] |
| 21 | fn num_push_bytes_avail(&self) -> usize; |
| 22 | #[inline(always)] |
| 23 | fn num_pop_bytes_avail(&self) -> usize; |
| 24 | #[inline(always)] |
| 25 | fn push_data(&mut self, &[u8]) -> usize; |
| 26 | #[inline(always)] |
| 27 | fn pop_data(&mut self, &mut [u8]) -> usize; |
| 28 | } |
| 29 | |
| 30 | |
| 31 | pub type FixedRegister = u64; |
nothing calls this directly
no outgoing calls
no test coverage detected