Code example for FloatBuffer

Methods: remaining

0
 
    /** 
     * @return See {@link FloatBuffer#remaining()} 
     */ 
    public int remaining() { 
        return floats.remaining();
    } 
 
    /** 
     * @return See {@link FloatBuffer#limit()} 
     */ 
    public int limit() { 
        return floats.limit();
    } 
     
    /** 
     * @return See {@link FloatBuffer#limit(int)} 
     */ 
    public void limit(int limit) {
    	bytes.limit(4 * limit);
        floats.limit(limit);