private static bool GetValueFromFlags(Flags flags) { return((flags.value & ValueMask) == ValueMask); }
private static CommandStatus GetStatusFromFlags(Flags flags) { var status = new CommandStatusClass(); return(status.CommandStatusFromType((byte)(flags.value & StatusMask))); }
public BinaryCommandEvent(Flags f) { flags = f; }