ReadAt bytes from the file at off
(b []byte, off int64)
| 283 | |
| 284 | // ReadAt bytes from the file at off |
| 285 | func (fh *RWFileHandle) ReadAt(b []byte, off int64) (n int, err error) { |
| 286 | fh.mu.Lock() |
| 287 | defer fh.mu.Unlock() |
| 288 | return fh._readAt(b, off, true) |
| 289 | } |
| 290 | |
| 291 | // Read bytes from the file |
| 292 | func (fh *RWFileHandle) Read(b []byte) (n int, err error) { |