Skip to main content

decode_packet

Function decode_packet 

Source
pub fn decode_packet<'py>(
    py: Python<'py>,
    data: &[u8],
) -> PyResult<Bound<'py, PyDict>>
Expand description

Best-effort inspection of a full PVA packet (header + payload). Returns a dict with command, command_name, version, flags, and a details sub-dict describing the command-specific payload.