powered by
This is called internally to flush bitstream buffers to the underlying R connection.
bs_flush(bs)
Bitstream connection returned invisibly
Bitstream
Bistream connection object created with bs_open()
bs_open()
bs <- bs_open(raw(), 'w') bs_write_bit(bs, c(TRUE, FALSE, TRUE)) bs_align(bs, nbits = 8) bs_flush(bs) output <- bs_close(bs) output
Run the code above in your browser using DataLab