Write4BE() public method

Write the low four bytes of a value to the stream in big endian order.
public Write4BE ( long n ) : void
n long The value to use.
return void
        public void Write_4BE()
        {
            byte[] want = { 0x98, 0x76,  0xAB, 0xCD };
            byte[] got;
            using (var os = new OtpOutputStream())
            {
                os.Write4BE(0x9876ABCD);
                got = os.ToArray();
            }

            CollectionAssert.AreEqual(want, got);
        }