public static BitVector128 ToBitVector(this BitString src, N128 n) => BitVector128.FromBitString(src);
public static Vec128 <T> ToCpuVec <T>(this BitString src, N128 n) where T : unmanaged => src.Pack().As <byte, T>().ToSpan128().ToCpuVec128();
public static BitVector32 ToBitVector(this BitString src, N32 n) => BitVector32.FromBitString(src);
public static BitVector64 ToBitVector(this BitString src, N64 n) => BitVector64.FromBitString(src);
public static BitBlock <BitBlock10> ToBitBlock(this BitString src, N10 n) => BitBlock.FromSpan <BitBlock10>(src.BitSeq);
public static BitString ToBitString <T>(this Memory <T> src) where T : struct => BitString.FromScalars(src);
public static BitString ToBitString(this ushort src) => BitString.FromScalar(src);
public static BitBlock <BitBlock21> ToBitBlock(this BitString src, N21 n) => BitBlock.FromSpan <BitBlock21>(src.BitSeq);
public static BitString Reverse(this BitString src) { src.BitSeq.Reverse(); return(src); }
public static BitString ToBitString(this byte src) => BitString.FromScalar(src);
public static BitString ToBitString <T>(this Vec256 <T> src) where T : struct => BitString.FromScalars(src.ToSpan());
public static BitString ToBitString(this UInt128 src) => BitString.FromScalar(src.hi) + BitString.FromScalar(src.lo);
public static BitString ToBitString(this ReadOnlySpan <Bit> src) => BitString.FromBits(src);
public static Vec256 <T> ToCpuVec <T>(this BitString src, N256 n) where T : unmanaged => src.Pack().As <byte, T>().ToSpan256().ToCpuVec256();
public static BitString ToBitString(this ulong src) => BitString.FromScalar(src);
public static BitVector8 Parse(string src) => FromBitString(BitString.Parse(src));
public static BitString ToBitString(this float src) => BitString.FromScalar(src);
public static BitBlock <BitBlock32> ToBitBlock(this BitString src, N32 n) => BitBlock.FromSpan <BitBlock32>(src.BitSeq);
public static BitVector16 ToBitVector(this BitString src, N16 n) => BitVector16.FromBitString(src);
public static BitVector64 FromBitString(BitString src) => src.TakeUInt64();
public static BitString ToBitString <T>(this Span <T> src, BitSize?maxlen = null) where T : struct => BitString.FromScalars(src, maxlen);