pub fn encode_put_payload(
py: Python<'_>,
desc: &PyStructureDesc,
value: PyObject,
is_be: bool,
) -> PyResult<PyObject>Expand description
Encode a PUT payload (size-prefixed bitset + field data) for the given
structure description and value dict. The bitset is built from the
field keys present in value so callers only transmit changed fields.