R/redisBITCOUNT.R

#'@title Count set bits in a string
#'@export
redisBITCOUNT <- function( key, Rc = NULL) {
	if (is.null(Rc)) Rc <- getOption("Rhiredis.connect")
	cmd <- "BITCOUNT"
	redisCommand(Rc, cmd, list(key))
}
wush978/Rhiredis documentation built on May 4, 2019, 12:01 p.m.