(&mut self, data: &[u8])
| 277 | } |
| 278 | |
| 279 | fn write(&mut self, data: &[u8]) -> Option<u64> { |
| 280 | if data.is_empty() { |
| 281 | return Some(0); |
| 282 | } |
| 283 | let length = data.len(); |
| 284 | self.cursor.write_all(data).ok()?; |
| 285 | Some(length as u64) |
| 286 | } |
| 287 | |
| 288 | //return the entire contents of the underlying |
| 289 | fn getvalue(&self) -> Vec<u8> { |
no test coverage detected