title: Why does Stream.Write not take a UInt?
body: <p>It seems highly illogical to me that <a href="https://msdn.microsoft.com/en-us/library/system.io.stream.write(v=vs.110).aspx" rel="noreferrer">Stream.Write</a> uses <code>int</code>, instead of <code>UInt</code>... Is there an explanation other than "legacy" code for this fact? Would any one want to write <code>-1</code> bytes?!?</p>