(p []byte)
| 506 | } |
| 507 | |
| 508 | func (f *entitySource) Read(p []byte) (n int, err error) { |
| 509 | if f.rsc == nil { |
| 510 | err = f.resetRequest() |
| 511 | } |
| 512 | if f.rsc != nil { |
| 513 | n, err = f.rsc.Read(p) |
| 514 | f.pos += int64(n) |
| 515 | } |
| 516 | return |
| 517 | } |
| 518 | |
| 519 | func (f *entitySource) ReadAt(p []byte, off int64) (n int, err error) { |
| 520 | if f.rsc == nil { |
nothing calls this directly
no test coverage detected