title: 10-bit number in .net
body: <p>I would like to represent a 10 bit unsigned integer in C#. I need to read and write it into <code>BinaryStream</code> and use ++ unary operator. Should I use <code>int</code> as an internal representation or is there a better way?</p>