class NullReader extends Reader {

    @Override
    public int read() throws IOException {
        if (eof) {
            throw new IOException("Read after end of file");
        }
        if (position == size) {
            return doEndOfFile();
        }
        position++;
        return processChar();
    }

    public  NullReader(final long size);
    public  NullReader(final long size, final boolean markSupported, final boolean throwEofException);

}