assert_bs {bitstreamio} | R Documentation |
Test if an object is a bitstream object and fail if it is not
Description
Test if an object is a bitstream object and fail if it is not
Usage
assert_bs(x)
Arguments
x |
object to test |
Value
None
Examples
raw_vec <- as.raw(1:3)
bs <- bs_open(raw_vec, 'r')
assert_bs(bs)
bs_close(bs)
[Package bitstreamio version 0.1.0 Index]