Closed kyay10 closed 1 year ago
Introduce interface Flag which defines byte-manipulation functions (like and, or, wo, etc) which work on its i property. This results in removing a lot of duplicate code that was redefining those functions for every Flag-like enum
interface Flag
and
or
wo
i
Nice idea, thanks
Introduce
interface Flag
which defines byte-manipulation functions (likeand
,or
,wo
, etc) which work on itsi
property. This results in removing a lot of duplicate code that was redefining those functions for every Flag-like enum