ArraySectionT(ArraySegmentT) Constructor
Initializes a new instance of the
ArraySectionT struct from the specified
ArraySegmentT.
No heap allocation occurs when using this constructor overload.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public ArraySection(
ArraySegment<T> arraySegment
)
Public Sub New (
arraySegment As ArraySegment(Of T)
)
public:
ArraySection(
ArraySegment<T> arraySegment
)
new :
arraySegment : ArraySegment<'T> -> ArraySection
Parameters
- arraySegment ArraySegmentT
- The ArraySegmentT to initialize the new ArraySectionT from.