public static String getStatusCodeReply(byte[] buf) {
        final byte[] resp = (byte[]) RedisProtocol.read(new RedisInputStream(new ByteArrayInputStream(buf)));
        if (null == resp) {
            return null;
        } else {
            return SafeEncoder.encode(resp);
        }
    }
public static String getStatusCodeReply(byte[] buf) {
        final byte[] resp = (byte[]) RedisProtocol.read(new RedisInputStream(new ByteArrayInputStream(buf)));
        if (null == resp) {
            return null;
        } else {
            return SafeEncoder.encode(resp);
        }
    }
public static String getStatusCodeReply ( byte [ ] buf ) { final byte [ ] resp = ( byte [ ] ) RedisProtocol . read ( new RedisInputStream ( new ByteArrayInputStream ( buf ) ) ) ; if ( null == resp ) { return null ; } else { return SafeEncoder . encode ( resp ) ; } }
Gets the status code reply.

@return the status code reply
Gets the status code reply .