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