Skip to main content

bit_recv

Function bit_recv 

Source
pub fn bit_recv(
    recv: &mut Recv<'_>,
    typmod: i32,
    varying: bool,
) -> Result<String, TypeError>
Expand description

bit_recv and varbit_recv: the number of bits as an int4, then the bits in bytes, with the last byte padded with zero bits.

ยงErrors

22P03 for a length that is not valid, the errors of bit_in for a length that does not agree with the typmod, and 08P01 for a value with too few bytes.