(r io.ReaderAt, offset int64)
| 116 | } |
| 117 | |
| 118 | func NewReaderUsingReaderAt(r io.ReaderAt, offset int64) io.Reader { |
| 119 | return &readerAtAsReader{ |
| 120 | ReaderAt: r, |
| 121 | offset: offset, |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | // CheckClose calls Close on the given io.Closer. If the given *error points to |
| 126 | // nil, it will be assigned the error returned by Close. Otherwise, any error |