public static unsafe void Convert(int bytesOfType, Span <byte> source, Span <byte> destination)
 {
     fixed(byte *src = source, dest = destination)
     {
         EndiannessConverterAvx2.Convert(bytesOfType, source.Length, src, dest);
     }
 }
        public static unsafe void Convert(int bytesOfType, Span <byte> source, Span <byte> destination)
        {
#if NET5_0
            if (Avx2.IsSupported)
            {
                EndiannessConverterAvx2.Convert(bytesOfType, source, destination);
            }

            //else if (Sse2.IsSupported)
            //    EndiannessConverterSse2.Convert(bytesOfType, source, destination);

            else
#endif
            EndiannessConverterGeneric.Convert(bytesOfType, source, destination);
        }