⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

parse_args

Function parse_args 

Source
pub fn parse_args(
    payload: &[u8],
    signature: &[u8],
) -> Result<Vec<Argument>, WaylandError>
Expand description

Parse a typed argument list from raw payload bytes according to a format string where each character describes one argument: i = Int, u = Uint, f = Fixed, s = String, o = Object, n = NewId, a = Array, h = Fd

This is used by interface dispatchers that know the expected signature.