private SegmentAsValueType(BufferSegment value) => _value = value;
private void PushWithResize(BufferSegment item) { Array.Resize(ref _array, 2 * _array.Length); _array[_size] = item; _size++; }