public static void Clear <T>(NativeBufferArray <T> arr, int index, int length) where T : struct
 {
     arr.Clear(index, length);
 }
 public static void Clear <T>(NativeBufferArray <T> arr) where T : struct
 {
     arr.Clear();
 }