private static void TestUInt32(UInt32 value) { var output = new MemoryStream(); Packer.Create(output).Pack(value); Assert.AreEqual(value, Unpacking.UnpackUInt32(new MemoryStream(output.ToArray()))); Assert.AreEqual(value, Unpacking.UnpackUInt32(output.ToArray()).Value); }