Code example for CharBuffer

Methods: remaining

0
        return skipped;
    } 
 
    @Override 
    public int available() throws IOException { 
        return this.cbuf.remaining();
    } 
 
    @Override 
    public void close() throws IOException { 
    } 
 
    /** 
     * {@inheritDoc} 
     * @param readlimit max read limit (ignored) 
     */ 
    @Override 
    public synchronized void mark(@SuppressWarnings("unused") int readlimit) {
        this.mark = this.cbuf.position();
    }