MCPcopy Index your code
hub / github.com/processing/processing / read

Method read

core/src/processing/data/XML.java:190–199  ·  view source on GitHub ↗
(char[] cbuf, int off, int len)

Source from the content-addressed store, hash-verified

188
189 Document document = builder.parse(new InputSource(new Reader() {
190 @Override
191 public int read(char[] cbuf, int off, int len) throws IOException {
192 int count = reader.read(cbuf, off, len);
193 for (int i = 0; i < count; i++) {
194 if (cbuf[off+i] == '\u2028') {
195 cbuf[off+i] = '\n';
196 }
197 }
198 return count;
199 }
200
201 @Override
202 public void close() throws IOException {

Callers 6

loadImageIOMethod · 0.45
loadImageTGAMethod · 0.45
createReaderMethod · 0.45
loadBytesMethod · 0.45
saveStreamMethod · 0.45
nextMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected