Method
read
(@Nullable char cbuf[], int off, int len)
Source from the content-addressed store, hash-verified
| 50 | } |
| 51 | |
| 52 | @Override |
| 53 | public int read(@Nullable char cbuf[], int off, int len) throws IOException { |
| 54 | if (current == null) { |
| 55 | return -1; |
| 56 | } |
| 57 | int result = current.read(cbuf, off, len); |
| 58 | if (result == -1) { |
| 59 | advance(); |
| 60 | return read(cbuf, off, len); |
| 61 | } |
| 62 | return result; |
| 63 | } |
| 64 | |
| 65 | @Override |
| 66 | public long skip(long n) throws IOException { |
Callers
nothing calls this directly
Tested by
no test coverage detected