x11rb::x11_utils

Function parse_request_header

pub fn parse_request_header(
    input: &[u8],
    big_requests_enabled: BigRequests,
) -> Result<(RequestHeader, &[u8]), ParseError>
Expand description

Parse the given input for a RequestHeader and the remaining input.