()
| 27 | int index; |
| 28 | |
| 29 | @Override |
| 30 | public int read() { |
| 31 | if (index < data.length) { |
| 32 | log.append("<").append(index); |
| 33 | return data[index++]; |
| 34 | } else { |
| 35 | log.append("<#"); |
| 36 | return -1; |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | @Override |
| 41 | public int read(byte[] b) throws IOException { |
no outgoing calls
no test coverage detected