(&mut self)
| 949 | } |
| 950 | |
| 951 | pub fn get_u8(&mut self) -> u8 { |
| 952 | self.read_u8().unwrap_or(0) |
| 953 | } |
| 954 | |
| 955 | pub fn read_n(&mut self, count: usize) -> Result<Vec<u8>, Error> { |
| 956 | let mut tmp: Vec<u8> = Vec::with_capacity(count); |
no test coverage detected