Skip to content

Latest commit

 

History

History
 
 

bitflags

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Bit Flags

hasFlag, withFlag and minusFlag extensions on Long, Int, Short, Byte, and their unsigned counterparts.

These extensions make dealing with bit flags easier.

These small inline extensions can be proven handy since bit flags are found in multiple places over the Android API, in low level stuff when you have to deal with raw bytes, and maybe in your own codebase too.

Download

implementation("com.louiscad.splitties:splitties-bitflags:$splitties_version")