public bool IsMatch(string aBinary) { SymByte value = 0; SymByte mask = SymBitUtils.CreateMask(aBinary, out value); bool ret = (mask & iValue) == value; return(ret); }
public static SymByte CreateMask(string aBinary, out SymByte aExpectedValue) { byte value = 0; SymByte ret = CreateMask(aBinary, out value); aExpectedValue = value; return(ret); }
public override bool Equals(object aObject) { bool ret = false; // if (aObject != null && aObject is SymByte) { SymByte other = (SymByte)aObject; ret = (other.Value == this.Value); } // return(ret); }