示例#1
0
 public static BitVector <N, T> Load <N, T>(T[] src, N n = default)
     where N : ITypeNat, new()
     where T : unmanaged
 => BitVector <N, T> .Load(src);
示例#2
0
 public static BitVector <T> Load <T>(Span <T> src, BitSize?n = null)
     where T : unmanaged
 => BitVector <T> .Load(src, n);
示例#3
0
 public static BitVector <N, T> Load <N, T>(ReadOnlySpan <T> src, N n = default)
     where N : ITypeNat, new()
     where T : unmanaged
 => BitVector <N, T> .Load(src.ToSpan());
示例#4
0
 public static BitVector <T> Load <T>(params T[] src)
     where T : unmanaged
 => BitVector <T> .Load(src);
示例#5
0
 public static BitVector <T> Load <T>(T[] src, BitSize n)
     where T : unmanaged
 => BitVector <T> .Load(src, n);
示例#6
0
 public static BitVector <T> ToBitVector <T>(this Span <T> src, BitSize?len = null)
     where T : unmanaged
 => BitVector.Load(src, len);
示例#7
0
 public static BitVector <N, T> ToBitVector <N, T>(this ReadOnlySpan <T> src, N n = default)
     where N : ITypeNat, new()
     where T : unmanaged
 => BitVector.Load(src, n);