Function serde_java_properties::from_slice [−][src]
Expand description
Turn a byte slice into a value of T
This should technically be T: DeserializeOwned
, but the implementation may change in the future
Important: Do not pass a str::as_bytes
to this function. The reader
expects ISO-8859-1 by default. Use from_str
instead, which sets the correct encoding.