Get remaining bytes in the reader
(&self)
| 227 | |
| 228 | /// Get remaining bytes in the reader |
| 229 | pub fn remaining(&self) -> usize { |
| 230 | self.value.len().saturating_sub(self.position) |
| 231 | } |
| 232 | |
| 233 | /// Check if the reader has reached the end |
| 234 | pub fn is_at_end(&self) -> bool { |