gilrs_core
0.6.0
In gilrs_core::utils
Function
gilrs_core
::
utils
::
test_bit
Copy item path
source
ยท
[
−
]
pub(crate) fn test_bit(n:
u16
, array: &[
u8
]) ->
bool
Expand description
Returns true if nth bit in array is 1.