Function il2_iltags::tags::standard::explicit::deserialize_string_tag_from_value_into[][src]

pub fn deserialize_string_tag_from_value_into(
    reader: &mut dyn Reader,
    output: &mut String
) -> Result<()>
Expand description

Extracts a string value from a standard string tag directly from the data stream and put it inside an existing std::string::String.

This function was designed to allow the reuse of existing std::string::String instances.

Arguments:

  • reader: The reader;
  • output: The string instance that will hold the result;

Returns:

  • Ok(String): The string extracted from the data stream;
  • Err(e): In case of error.