OpenRA/OpenRA — pull request #5509 by RoosterDragon (2014-05-31 17:10:51+00:00)
Title: Fixes to StreamExts.

Separated out from #5503.

- Makes ReadBytes method actually work if Read returns a count less than requested.
- Avoid an unnecessary array allocation in Peek and ReadUInt8.