[][src]Function lexpr::datum::from_slice_custom

pub fn from_slice_custom(bytes: &[u8], options: Options) -> Result<Datum>

Parse a datum from bytes representing a single S-expression.

let datum = lexpr::from_slice_custom(b"(a (nested) list)", lexpr::parse::Options::new());
println!("{:?}", datum);