You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param num_bits The amount of bits to read. The maximum is 32 bits, and (start_bit + num_bits) must be less than the total number of bits in the bitstream.
39
-
* @return Returns 1 if failed, and 0 if successful.
35
+
* @brief Adds a signed int to a bitstream. The data is added to the end of the bitstream.
36
+
* @param *bitstream The bitstream to add data to.
37
+
* @param value The data to add to the bitstream.
38
+
* @param num_bits The length of the data in bits.
39
+
* @return Returns 0 if successful, -1 if there is insufficient space in the bitstream, and 1 if overflow occurs.
0 commit comments