class IntegerOutput<K, V> extends CommandOutput<K, V, Long> {

    public IntegerOutput(RedisCodec<K, V> codec) {
        super(codec, null);
    }

    @Override
    public void set(long integer) {
        output = integer;
    }

    @Override
    public void set(ByteBuffer bytes) {<FILL_FUNCTION_BODY>}

}

        if (bytes == null) {
            output = null;
        } else {
            // fallback for long as ByteBuffer
            output = Long.parseLong(StandardCharsets.UTF_8.decode(bytes).toString());
        }
    
<methods>public void <init>(RedisCodec<K,V>, java.lang.Long) ,public void complete(int) ,public java.lang.Long get() ,public java.lang.String getError() ,public boolean hasError() ,public void multi(int) ,public void multiArray(int) ,public void multiMap(int) ,public void multiPush(int) ,public void multiSet(int) ,public void set(java.nio.ByteBuffer) ,public void set(long) ,public void set(double) ,public void set(boolean) ,public void setBigNumber(java.nio.ByteBuffer) ,public void setError(java.nio.ByteBuffer) ,public void setError(java.lang.String) ,public void setSingle(java.nio.ByteBuffer) ,public java.lang.String toString() <variables>protected final non-sealed RedisCodec<K,V> codec,protected java.lang.String error,protected java.lang.Long output