示例#1
0
文件: BitCmdHost.cs 项目: 0xCM/z0
        void ShowBitSeq(N6 n, ShowLog dst)
        {
            var bits = BitSeq.bits(n);

            dst.Show($"n={n}, count={bits.Length}");
            dst.Show(RP.PageBreak120);
            root.iter(bits, s => dst.Buffer.AppendFormat("{0} ", s.Format()));
            dst.ShowBuffer();
        }
示例#2
0
文件: BitBlock.x.cs 项目: 0xCM/arrows
 public static BitBlock <BitBlock6> ToBitBlock(this BitString src, N6 n)
 => BitBlock.FromSpan <BitBlock6>(src.BitSeq);