(State s, byte[] dst, int offset, int length)
| 74 | } |
| 75 | |
| 76 | static int readInput(State s, byte[] dst, int offset, int length) { |
| 77 | try { |
| 78 | return s.input.read(dst, offset, length); |
| 79 | } catch (IOException e) { |
| 80 | return makeError(s, BROTLI_ERROR_READ_FAILED); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | static InputStream makeEmptyInput() { |
| 85 | return new ByteArrayInputStream(new byte[0]); |
no test coverage detected