Skip to main content

encode_string

Function encode_string 

Source
pub fn encode_string(text: &str) -> Vec<u32>
Expand description

SPIR-V literal string: UTF-8, NUL-terminated, zero-padded to a whole number of little-endian words.