ArrayExtensions Class
Provides extension methods for arrays.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.0.0
public static class ArrayExtensions
<ExtensionAttribute>
Public NotInheritable Class ArrayExtensions
[ExtensionAttribute]
public ref class ArrayExtensions abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
[<ExtensionAttribute>]
type ArrayExtensions = class end
- Inheritance
- Object ArrayExtensions
AsArray2DT(ArraySegmentT, Int32, Int32) |
Gets an Array2DT wrapper for the specified ArraySegmentT.
The array segment must have enough capacity for the specified height and width.
No heap allocation occurs when using this method.
|
AsArray2DT(T, Int32, Int32) |
Gets an Array2DT wrapper for the specified array.
The array must have enough capacity for the specified height and width.
No heap allocation occurs when using this method.
|
AsArray3DT(ArraySegmentT, Int32, Int32, Int32) |
Gets an Array3DT wrapper for the specified ArraySegmentT.
The array segment must have enough capacity for the specified depth, height and width.
No heap allocation occurs when using this method.
|
AsArray3DT(T, Int32, Int32, Int32) |
Gets an Array3DT wrapper for the specified array.
The array must have enough capacity for the specified depth, height and width.
No heap allocation occurs when using this method.
|
AsSectionT(ArraySegmentT) |
Gets the specified ArraySegmentT as an ArraySectionT instance.
No heap allocation occurs when using this method.
|
AsSectionT(T) |
Gets the specified array as an ArraySectionT instance.
No heap allocation occurs when using this method.
|
AsSectionT(T, Int32) |
Gets an ArraySectionT instance, which represents a section of the specified array.
No heap allocation occurs when using this method.
|
AsSectionT(T, Int32, Int32) |
Gets an ArraySectionT instance, which represents a section of the specified array.
No heap allocation occurs when using this method.
|