pub fn set_bit(
bytes: &[u8],
n: i64,
value: i32,
writer: &mut impl Write,
) -> Result<()>Expand description
Sets n’th bit in binary string to newvalue.
§Example
query T
SELECT set_bit('\x1234567890'::bytea, 30, 0);
----
\x1234563890