[][src]Function llsd::read_value

pub fn read_value(buf: &[u8]) -> Result<Value, ReadError>

Read a value from either Binary or XML LLSD representation.

The format will be detected automatically by checking the document header.