System.IO.BitSplitter.GetNext C# (CSharp) 메소드

GetNext() 보호된 메소드

Get an unshifted array of bits packed in bytes. Advances position counter.
protected GetNext ( int l ) : byte[]
l int
리턴 byte[]
        protected byte[] GetNext(int l)
        {
            byte[] m = Mask(BitOffset, l);
            for (int i = 0; i < m.Length; i++) {
                m[i] = (byte)(m[i] & src[ByteOffset + i]);
            }
            offset += l;
            return m;
        }