(&mut self, kind: u8, n: u64)
| 172 | } |
| 173 | } |
| 174 | fn small_number(&mut self, kind: u8, n: u64) -> SResult<()> { |
| 175 | if n < 16 { |
| 176 | self.c.control.push(n as u8); |
| 177 | Ok(()) |
| 178 | } else { |
| 179 | self.number(kind, n) |
| 180 | } |
| 181 | } |
| 182 | fn reference(&mut self, bytes: &[u8], tag: u8) -> SResult<()> { |
| 183 | let next = self.c.dictionary.len(); |
| 184 | let id = if let Some(&id) = self.dictionary.get(bytes) { |
no test coverage detected