powered by
Test if an object is a bitstream object and fail if it is not
assert_bs(x)
None
object to test
raw_vec <- as.raw(1:3) bs <- bs_open(raw_vec, 'r') assert_bs(bs) bs_close(bs)
Run the code above in your browser using DataLab