Method ADT.BitBuffer()->put()


Method put

this_program put(int value, int bits)

Description

Put bits number of bits with the value value into the buffer.

Note

value must not be larger than what can be stored with the number of bits given in bits.

Note

The bits are added to the buffer with the most significant bit first.