Function gnunet_sys::GNUNET_CRYPTO_hash_get_bit_ltr [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_hash_get_bit_ltr(
code: *const GNUNET_HashCode,
bit: c_uint
) -> c_int
@ingroup hash Obtain a bit from a hashcode.
@param code the struct GNUNET_HashCode
to index bit-wise
@param bit index into the hashcode, [0…159] where 0 is the leftmost bit
(bytes in code interpreted big endian)
@return Bit \a bit from hashcode \a code, -1 for invalid index