CSharpUtils.Tests.FastcgiPacketReaderTest.ReadVariableIntMultipleByteTest C# (CSharp) Method

ReadVariableIntMultipleByteTest() private method

private ReadVariableIntMultipleByteTest ( ) : void
return void
		public void ReadVariableIntMultipleByteTest()
		{
			var Stream = new MemoryStream();
			Stream.WriteByte(0x80);
			Stream.WriteByte(0x00);
			Stream.WriteByte(0x00);
			Stream.WriteByte(0x01);
			Stream.Position = 0;
			Assert.AreEqual(1, FastcgiPacketReader.ReadVariableInt(Stream));
		}