This package provides a type ImmutableArraySegment<T>
that provides a view of an immutable array. It is optimized for slice operations.
using Tsonto.Collections.Generic;
var segment = new ImmutableArraySegment<char>(new [] { 'a', 'b', 'c', 'd' });
var mid = segment[1..^1]; // b,c
var last = segment[^1]; // d
var combined = mid + segment; // b,c,a,b,c,d
Every type, method, property, etc. has descriptive XML comments. Every method's documentation includes remarks detailing its performance characteristics.
DockerSdk is licensed under the MIT license.
The DockerSdk project follows the Contributor Covenant. Harrasment will not be tolerated.