public void resize(int size) { if (this._charWidths.Count < size) { NoAllocHelpersBridge <float> .ResizeList(this._charWidths, size); } }
public static ref T refAt <T>(this List <T> list, int index) { var array = NoAllocHelpersBridge <T> .ExtractArrayFromListT(list); return(ref array[index]); }
public static T[] array <T>(this List <T> list) { return(NoAllocHelpersBridge <T> .ExtractArrayFromListT(list)); }
public static void reset <T>(this List <T> list, int size) { NoAllocHelpersBridge <T> .EnsureListElemCount(list, size); }