public void TestMethod2() { CGD.buffer tempBufer = new CGD.buffer(); tempBufer.alloc(200); TEST_B temp = new TEST_B(); temp.X = 10; temp.Y = "Tesfdsafdsafdsafdst"; temp.Z = 100; temp.W = new List <int> { 10, 20, 30 }; string tempString; tempString = "Txxfasgfsgfdfx"; tempBufer.append <int>(10); tempBufer.append <TEST_B>(temp); tempBufer.append <string>(tempString); int a1 = tempBufer.extract <int>(); TEST_B a2 = tempBufer.extract <TEST_B>(); string a3 = tempBufer.extract <string>(); }
public void TestMethod2() { CGD.buffer tempBufer = new CGD.buffer(); tempBufer.alloc(200); TEST_B temp = new TEST_B(); temp.X = 10; temp.Y = "Tesfdsafdsafdsafdst"; temp.Z = 100; temp.W = new List<int> { 10, 20, 30}; string tempString; tempString = "Txxfasgfsgfdfx"; tempBufer.append<int>(10); tempBufer.append<TEST_B>(temp); tempBufer.append<string>(tempString); int a1 = tempBufer.extract<int>(); TEST_B a2 = tempBufer.extract<TEST_B>(); string a3 = tempBufer.extract<string>(); }