(&self, offset: u64)
| 91 | } |
| 92 | |
| 93 | fn offset_valid(&self, offset: u64) -> bool { |
| 94 | let mut buf = [0u8; 1]; |
| 95 | |
| 96 | // don't use self.read so that if segments were used we |
| 97 | // check against those as well |
| 98 | self.as_ref().read(&mut buf[..], offset) == buf.len() |
| 99 | } |
| 100 | |
| 101 | fn offset_readable(&self, offset: u64) -> bool { |
| 102 | self.offset_valid(offset) |
nothing calls this directly
no test coverage detected