Function gnunet_sys::GNUNET_CRYPTO_hash_get_bit_rtl[][src]

pub unsafe extern "C" fn GNUNET_CRYPTO_hash_get_bit_rtl(
    code: *const GNUNET_HashCode,
    bit: c_uint
) -> c_int

Obtain a bit from a hashcode. @param code the GNUNET_CRYPTO_hash to index bit-wise @param bit index into the hashcode, [0…511] where 0 is the rightmost bit (bytes in code interpreted little endian) @return Bit \a bit from hashcode \a code, -1 for invalid index