public bool IsMatch(string aBinary) { SymByte value = 0; SymByte mask = SymBitUtils.CreateMask(aBinary, out value); bool ret = (mask & iValue) == value; return(ret); }
protected SymUIntBase(string aBinary, int aNumberOfBits) { iValue = SymBitUtils.CreateMask(aBinary); iNumberOfBits = aNumberOfBits; }
public SymByte(string aBinary) { iValue = (byte)SymBitUtils.CreateMask(aBinary); }
public SymMask(string aBinary) { iMaskingBits = SymBitUtils.CreateMask(aBinary, out iExpectedValueAfterMasking); }