(p []byte, off int64)
| 124 | } |
| 125 | |
| 126 | func (ra readerAt) ReadAt(p []byte, off int64) (n int, err error) { |
| 127 | rc, err := ra.sf.SubFetch(ra.ctx, ra.br, off, int64(len(p))) |
| 128 | if err != nil { |
| 129 | return 0, err |
| 130 | } |
| 131 | defer rc.Close() |
| 132 | return io.ReadFull(rc, p) |
| 133 | } |
no test coverage detected