pad_bit_vec: Pad a bit vector so that its length is a multiple of the...

Description Usage Arguments Value

View source: R/01-bit-pad.R

Description

Pad a bit vector so that its length is a multiple of the given value

Usage

1
2
pad_bit_vec(bit_vec, multiple = 8L, pad = c("left", "right"),
  value = FALSE)

Arguments

bit_vec

vector of bit values

multiple

bit length will be padded to be a multiple of this value. default: 8

pad

place padding bits on the left or right. default: left

value

value to pad with. TRUE or FALSE. default: FALSE

Value

padded bit vector


coolbutuseless/minitypes documentation built on May 27, 2019, 9:55 a.m.