henrik.lundin 7a83951b27 Fix a bug in webrtc::ByteReader
The specializations for 4-byte reading did not return correct
values. This has to do with the order of casting and shifting. Also
adding a test to expose the bug (and verify the other byte sizes).

Review URL: https://codereview.webrtc.org/1615653011

Cr-Commit-Position: refs/heads/master@{#11364}
2016-01-25 07:47:59 +00:00
..
2016-01-13 00:26:55 +00:00
2016-01-25 07:47:59 +00:00
2015-12-10 20:39:16 +00:00
2015-12-10 20:39:16 +00:00
2015-12-10 20:39:16 +00:00
2015-12-10 20:39:16 +00:00
2015-12-29 09:12:15 +00:00
2015-12-21 19:06:56 +00:00
2015-12-10 20:39:16 +00:00