#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER using System; using System.Runtime.CompilerServices; #nullable enable namespace Org.BouncyCastle.Utilities { internal static class Spans { [MethodImpl(MethodImplOptions.AggressiveInlining)] internal static Span FromNullable(T[]? array, int start) { return array == null ? Span.Empty : array.AsSpan(start); } } } #endif