pub fn get_bit(bytes: &[u8], n: i64) -> Result<i32>
Extracts n’th bit from binary string.
query T SELECT get_bit('\x1234567890'::bytea, 30); ---- 1