static public VtIntArray ToVtArray(int[] input) { var output = new VtIntArray((uint)input.Length); unsafe { fixed(int *p = input) { output.CopyFromArray((IntPtr)p); } } return(output); }