Bitwise
17 functions. Also as Markdown for agents.
- BIS_fnc_bitflagsCheckChecks if one or more flags are set in the given flagset, represented with decimal or hexadecimal number
- BIS_fnc_bitflagsFlipFlips one or more flags (set gets unset and vice versa) in the given flagset, represented with decimal or hexadecimal number
- BIS_fnc_bitflagsSetSets one or more flags in the given flagset, represented with decimal or hexadecimal number
- BIS_fnc_bitflagsToArrayReturns array with all bit flags which are set in the given flagset
- BIS_fnc_bitflagsUnsetUnsets one or more flags in the given flagset, represented with decimal or hexadecimal number
- BIS_fnc_bitwiseANDPerforms bitwise AND operation on two decimal or hexadecimal unsigned 24 bit integers (Hexadecimal number representation is simply auto-converted…
- BIS_fnc_bitwiseNOTPerforms bitwise NOT operation on decimal or hexadecimal unsigned 24 bit integer (Hexadecimal number representation is simply auto-converted into…
- BIS_fnc_bitwiseORPerforms bitwise OR operation on two decimal or hexadecimal unsigned 24 bit integers (Hexadecimal number representation is simply auto-converted into…
- BIS_fnc_bitwiseXORPerforms bitwise XOR operation on two decimal or hexadecimal unsigned 24 bit integers (Hexadecimal number representation is simply auto-converted…
- BIS_fnc_decodeFlagsDecodes a single scalar into array of unique binary flags with indexes between 0-15.
- BIS_fnc_decodeFlags2Decodes a single scalar into array of unique binary flags (zeroes or ones).
- BIS_fnc_decodeFlags4Decodes a single scalar into array of unique 4-state flags (values 0,1,2,3).
- BIS_fnc_decodeFlags8Decodes a single scalar into array of unique 8-state flags (values 0,1,2,3,4,5,6,7).
- BIS_fnc_encodeFlagsEncodes array of unique binary flags with indexes between 0-15 into a single scalar.
- BIS_fnc_encodeFlags2Encodes array of unique binary flags (zeroes or ones) into a single scalar.
- BIS_fnc_encodeFlags4Encodes array of unique 4-state flags (0,1,2,3) into a single number.
- BIS_fnc_encodeFlags8Encodes array of unique 8-state flags (0,1,2,3,4,5,6,7) into a single number.