()
| 82 | } |
| 83 | |
| 84 | @Override |
| 85 | public int read() throws IOException { |
| 86 | if (in == null) { |
| 87 | return -1; |
| 88 | } |
| 89 | int result = in.read(); |
| 90 | if (result == -1) { |
| 91 | advance(); |
| 92 | return read(); |
| 93 | } |
| 94 | return result; |
| 95 | } |
| 96 | |
| 97 | @Override |
| 98 | public int read(@Nullable byte[] b, int off, int len) throws IOException { |