Code example for CountingOutputStream

Methods: getCount

0
    } 
 
    @Override 
    public int size() 
    { 
        return Ints.checkedCast(countingOutputStream.getCount());
    } 
 
    @Override 
    public int writableBytes() 
    { 
        return Integer.MAX_VALUE;
    } 
 
    @Override 
    public boolean isWritable() 
    { 
        return true; 
    }