Class NativeListExt
Provides Extension methods for the NativeList class
Inherited Members
Namespace: Unity.Networking.Transport.Utilities
Assembly: solution.dll
Syntax
public static class NativeListExt
Methods
Name | Description |
---|---|
ResizeUninitializedTillPowerOf2<T>(NativeList<T>, int) | This function will make sure that sizeToFit can fit into list. If sizeToFit >= list's Length then list will be ResizeUninitialized to a new length. New Length will be the next highest power of 2 of sizeToFit |