| 246 | } |
| 247 | |
| 248 | type fixedChunkReader struct { |
| 249 | data []byte |
| 250 | pos int |
| 251 | chunk int |
| 252 | } |
| 253 | |
| 254 | func (r *fixedChunkReader) Read(p []byte) (int, error) { |
| 255 | if r.pos == len(r.data) { |
nothing calls this directly
no outgoing calls
no test coverage detected