Commit faa7fcfe authored by Committed by Yaowu XuBrowse files
Add overwrite functions which do not zero bytes.
In several places bits are overwritten in the bitstream. These functions avoid zeroing bytes during writing so that this can happen correctly when the number of bits is not 8*N. Re-addresses the attempted fix in 133c57c3 which broke threaded encoding tests, which relied on re-using byte buffers. Change-Id: I682c5e3a7869eac7ad475584db8bf170d47a56c9
Showing with 30 additions and 7 deletions