Skip to main content

write_dbobject_bind

Function write_dbobject_bind 

Source
pub fn write_dbobject_bind(
    writer: &mut TtcWriter,
    oid: &[u8],
    image: &[u8],
) -> Result<()>
Expand description

Frames a fully-packed DbObject pickle image into the outgoing data row, replacing the zero stub used for empty OUT binds. Mirrors WriteBuffer.write_dbobject (reference impl/thin/packet.pyx:842-857). The toid is derived from the type oid per create_new_object (620-622).