[][src]Function hid_io::protocol::hidio::payload_start

pub fn payload_start(
    packet_data: &mut Vec<u8>
) -> Result<usize, HIDIOParseError>

Determines the starting position of the payload data

Arguments

Remarks

Uses a packet byte stream to find payload start. Please note that there may be no payload, or Id. In this case the starting position will be index 2.