pub fn encode_args(args: &[String]) -> Vec<u8> ⓘExpand description
Serializes a slice of arguments into length-prefixed binary wire format.
Wire format:
- 4-byte little-endian u32: argument count
N - For each argument:
- 4-byte little-endian u32: byte length
L LUTF-8 payload bytes
- 4-byte little-endian u32: byte length