Skip to main content

write_vector_image

Function write_vector_image 

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

Convenience for the bind path: a VECTOR image written inside the LOB wrapper is the qlocator (40 bytes, data-length encoded) followed by the raw image bytes-with-length. This helper writes just that pair given a pre-encoded image, mirroring write_vector -> write_qlocator + _write_raw_bytes_and_length in packet.pyx.