예제 #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);