(&mut self, tail: &[u8])
| 103 | self.kinds.available() |
| 104 | } |
| 105 | pub fn length(&mut self, tail: &[u8]) -> FormatResult<usize> { |
| 106 | match self.lengths.actual()? { |
| 107 | Some(n) => number(n), |
| 108 | None => Ok(predictor_v1::length(tail)), |
| 109 | } |
| 110 | } |
| 111 | pub fn kind(&mut self, bytes: &[u8]) -> FormatResult<TokenKind> { |
| 112 | match self.kinds.actual()? { |
| 113 | Some(n) => { |