class CharSequenceReader extends Reader implements Serializable {

    @Override
    public int read() {
        if (idx >= charSequence.length()) {
            return EOF;
        } else {
            return charSequence.charAt(idx++);
        }
    }

    public  CharSequenceReader(final CharSequence charSequence);

}