Read() public method

public Read ( byte Buffer, int Offset, int Count ) : int
Buffer byte
Offset int
Count int
return int
Exemplo n.º 1
0
		public void TestReadUnmapped1()
		{
			try
			{
				var MapStream = new MapStream();
				MapStream.Read(new byte[1], 0, 1);
				Assert.Fail();
			}
			catch (InvalidOperationException)
			{
			}
		}
Exemplo n.º 2
0
		public void TestReadUnmapped0()
		{
			var MapStream = new MapStream();
			MapStream.Read(new byte[1], 0, 0);
		}