Add a new BitBuffer class to webrtc base.

Provides a read-only interface for reading byte and bit-sized data from
an underlying buffer in network/big-endian order. Also provides a method
for reading exponential golomb encoded values, which will be useful in
H.264 packet parsing (separate CL).

BUG=
R=pthatcher@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/49719004

Cr-Commit-Position: refs/heads/master@{#9046}
This commit is contained in:
Noah Richards
2015-04-21 16:30:13 -07:00
parent 61b4d518af
commit bbf7c864ad
6 changed files with 417 additions and 0 deletions

View File

@ -53,6 +53,7 @@
'base64_unittest.cc',
'basictypes_unittest.cc',
'bind_unittest.cc',
'bitbuffer_unittest.cc',
'buffer_unittest.cc',
'bytebuffer_unittest.cc',
'byteorder_unittest.cc',