public void ReadStructVectorTest()
{
var Data = new byte[] {
0x01, 0x00, 0x02, 0x00, 0x03, 0x00,
0x01, 0x01, 0x02, 0x01, 0x03, 0x01,
0x01, 0x02, 0x02, 0x02, 0x03, 0x02,
};
var TestShorts = (new MemoryStream(Data)).ReadStructVector<TestShorts>(3);
Assert.AreEqual("TestShorts(0x0001, 0x0002, 0x0003)", TestShorts[0].ToString());
Assert.AreEqual("TestShorts(0x0101, 0x0102, 0x0103)", TestShorts[1].ToString());
Assert.AreEqual("TestShorts(0x0201, 0x0202, 0x0203)", TestShorts[2].ToString());
}