示例#1
0
文件: BitReader.cs 项目: fiki574/rAPB
 public void SetData(ref BitReader Src, int CountBits)
 {
     Num = CountBits;
     Pos = 0;
     Src.Data = null;
     Src.Data = new byte[((CountBits + 7) >> 3)];
     Src.SerializeBits(Src.Data, CountBits);
 }