Anonymous user
Bitmap/Read a PPM file: Difference between revisions
→{{header|D}}: drastically improve reading :)
m (→{{header|D}}: missing D, btw implementation is probably slow, and would be cool to change it) |
(→{{header|D}}: drastically improve reading :)) |
||
Line 171:
import tango.io.MappedBuffer;
import tango.io.stream.LineStream;
import tango.io.protocol.Reader;
import tango.text.convert.Integer;
Line 190 ⟶ 189:
throw new BadInputException;
if (processData
throw new BadInputException;
}
Line 221 ⟶ 220:
}
int processData(
if (! gotImg) throw new NoImageException;
return 0;
}
|