postgres_protocol::types

Function varbit_to_sql

source
pub fn varbit_to_sql<I>(
    len: usize,
    v: I,
    buf: &mut BytesMut,
) -> Result<(), Box<dyn Error + Sync + Send>>
where I: Iterator<Item = u8>,
Expand description

Serializes a VARBIT or BIT value.