コード例 #1
0
        private void TestInt32(byte[] expected, int number)
        {
            MemoryStream stream = new MemoryStream();
            Amf3Writer   writer = new Amf3Writer(stream);

            writer.TypelessWrite(number);

            CollectionAssert.AreEqual(expected, stream.ToArray());
        }