Method
read
(char[] b, int offset, int length)
Source from the content-addressed store, hash-verified
| 19 | } |
| 20 | |
| 21 | public int read(char[] b, int offset, int length) throws IOException { |
| 22 | if (length > in.length() - position) { |
| 23 | length = in.length() - position; |
| 24 | if (length <= 0) { |
| 25 | return -1; |
| 26 | } |
| 27 | } |
| 28 | in.getChars(position, position+length, b, offset); |
| 29 | position += length; |
| 30 | return length; |
| 31 | } |
| 32 | |
| 33 | public void close() throws IOException { } |
| 34 | } |
Callers
nothing calls this directly
Tested by
no test coverage detected