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