Skip to main content

decode_reg_text

Function decode_reg_text 

Source
pub fn decode_reg_text(kind: u32, data: &[u8]) -> Option<String>
Expand description

The text of a registry value from its type and raw bytes (UTF-16LE), or None for a type that holds no text (a number or binary data cannot carry a browser argument). The strings of a REG_MULTI_SZ are joined with spaces; the terminating NULs are dropped.