public void CheckInt64Array() { MemoryStream buffer = new MemoryStream(); IFieldWriter writer = new FieldWriter(buffer); IFieldReader reader = new FieldReader(buffer); Int64[] array1 = new Int64[] {}; Int64[] array2 = new Int64[] { 1 }; Int64[] array3 = new Int64[] { 0, 0, 0, 0, 0, 0 }; Int64[] array4 = new Int64[] { 0, 1, 2, 3, 4, 5 }; Int64[] array5 = new Int64[] { 0, 1, 1, 2, 2, 2 }; Int64[] array6 = new Int64[] { 0, 1, 1, 2, 2, 2, 3 }; writer.Write(array1); writer.Write(array2); writer.Write(array3); writer.Write(array4); writer.Write(array5); writer.Write(array6); buffer.Position = 0; array1.CompareArray(reader.ReadInt64Array()); array2.CompareArray(reader.ReadInt64Array()); array3.CompareArray(reader.ReadInt64Array()); array4.CompareArray(reader.ReadInt64Array()); array5.CompareArray(reader.ReadInt64Array()); array6.CompareArray(reader.ReadInt64Array()); }