Skip to main content

pack_bindvalue_into_image

Function pack_bindvalue_into_image 

Source
pub fn pack_bindvalue_into_image(
    buf: &mut Vec<u8>,
    value: &BindValue,
    csfrm: u8,
) -> Result<()>
Expand description

Packs a single scalar BindValue into a DbObject pickle image buffer, mirroring _pack_value (reference impl/thin/dbobject.pyx:247-306). Object (nested) and Null/Array values are handled by the caller (the pyshim owns the recursion and null framing); this serves scalar attributes and collection elements only.